News for hackers. Stuff that matters.

grouseway

Maybe that's a thing, but here's a video of a pet beaver making a "dam" out of stuffies and other household objects.

https://www.youtube.com/watch?v=-ImdlZtOU80

Re:The Engineering of Landfills on Wednesday September 04, 2024 @04:07PM (#41450164)
Perhaps this is not what you want, but Codie Sanchez did a business breakdown with an indepedent waste collector: https://www.youtube.com/watch?v=MMG6vtscSeI
Re:Good ideas in computer science on Sunday May 05, 2024 @04:47PM (#40268186)
+Virtual machines

+Automated testing (much newer?)

Re:Tesla reportedly drops plan to build $25,000 EV on Friday April 05, 2024 @04:56PM (#39947105)
Except Toyota doesn't actually have it's shit together enough to make them in any quantity.

2022 Prius Prime sales: 5353

2022 Ferrari sales: 4922

A Ferrari rare car is not the solution to anything. Last I heard the waitlist on the Rav4 prime was years long here in Canada.

https://insideevs.com/news/676057/us-toyota-plugin-car-sales...

https://www.goodcarbadcar.net/ferrari-us-sales-figures

I know this is a tangent, but if anything, western culture is better about this. We're not an "honor" culture, and we don't warp family relationships to "save face". People are not even allowed to apologize in some other cultures because it brings shame on their family/group.

To give a really grotesque example, there is an country run by autocrats that carelessly unleashed a plague on the world because they prioritized their self image over taking descisive action to prevent an epidemic.

Re:Werner Herzog on beer, yoga and what he would ask God on Monday October 16, 2023 @06:55PM (#37907796)
An AI generated, never-ending discussion between Werner Herzog and Slavoj ŽIžek

https://news.ycombinator.com/item?id=33437296

Is this because they are making a trade-off between surving some amount of solar flare activity vs increasing satellite weight by hardening them to radation?

I imagine it's preventable since the ISS and other large orbiters stay functional forever.

A LLM would probably make this better. Instead of asking the user to learn a DSL why not just translate SQL to whatever structure the render functions uses?
I see the other comment is marked dead now, but seriously why? I'm having a hard time imagining how a schema is viewed as actual intellectual property or a security risk.
Re:Longevity of Recordable CDs, DVDs and Blu-Rays on Friday October 07, 2022 @04:53PM (#33126732)
Outlook may have used Windows structured storage back then -- but then again it could just be my imagination.

https://learn.microsoft.com/en-us/windows/win32/stg/structur...

e.g. https://www.mitec.cz/ssv.html

Re:The $440M software error at Knight Capital (2019) on Monday May 02, 2022 @11:57PM (#31244416)
Never? You guys don't use the BEDMAS acronym in grade school for teaching order of operations?

I've only ever called them brackets.

Re:Poll: Where do you live? on Friday February 04, 2022 @03:56PM (#30213070)
I'm just happy enough that we aren't referred to as the "land mass to the north"

https://www.youtube.com/watch?v=nFM1X0o2pnc

For an alternative, maybe relay the texts to a slack channel (that's easy enough to receive on a phone for your coworkers). Zapier can probably integrate twilio/slack quickly.
Re:Making life easier for newcomers to the .NET ecosystem on Monday November 15, 2021 @01:51PM (#29231033)
SQLalchemy is exceptionally good at all of these -- and I'm not even a power user so I don't know all the tricks.

Re: Composability

You can generate something like the WHERE clause of a query in a function and return it alone (rather than as a SELECT query) or even combine it with another WHERE.

e.g. In SA the "select" and "where" portions aren't tightly coupled.

Re: Expressivity

Right now you can easily build up ef.core queries by chaining IQueryable.Where, which is nice but you can only do that for selects and something like OR conditions are difficult to implement.

e.g. in SA you can just pass a list of predicates to the or_() function.

e.g. in SA you can build a WHERE clause and then pass the same clause to a select or a bulk operation.

Re:Making life easier for newcomers to the .NET ecosystem on Monday November 15, 2021 @01:39PM (#29230873)
The developers have constrained themselves by refusing anything that falls outside of the scope of a strongly typed unit-of-work implementation.

This means we will probably never get: 1. Ability to pull non entity types out of the database without a whole lot of boilerplate. See the bizarre obstinacy here: https://github.com/dotnet/efcore/issues/10753

2. Any kind of bulk insert/delete/update ability. It's been a "to do" for years now.

3. Much better query composability.

Basically their response is to just use raw SQL for anything that isn't a unit-of-work feature. They're missing a lot of benefits that a ORM could provide when they say that.

The ef.core team feels like a lot of rejects that were stack ranked out to their own team. I know that is mean to say, but they iterate extremely slowly compared to teams like asp.net .core, visual studio code, c# language group, f# language group.

Re:Some Whales Can Eat Upwards of 16 Tons of Tiny Shrimp a Day on Wednesday November 03, 2021 @11:47PM (#29103512)
Here's another cool visualization - with different figures however.

https://www.visualcapitalist.com/all-the-biomass-of-earth-in...

I'm currently reading logs via command line by ssh as you describe for a simple service and not satisfied with this. What would be a step up without a lot of extra infrastructure?
I feel like the rural coverage issue is misleading and overused. Look at their coverage maps:

https://www.rogers.com/mobility/network-coverage-map?icid=R_...

Most of my province (BC) is not covered. They cover the urban areas and some wider areas along highways in plateau regions. Where is this burdensome coverage that is keeping them expensive?

And that is also why we have every foreign origin covid variant floating around in Canada. Quarantine by honor system clearly hasn't worked.

I wish we had been stricter with international travel so that we could have had less restrictions at home.

Re:Stripe Identity on Monday June 14, 2021 @12:23PM (#27504537)
I'd put Twilio and Cloudflare in the same category for vision (expanding product offering) and execution.
I know this is a digression, but can you expand on the checkpoints a bit? Are there actually random roadblocks within 100 miles of the border where you get stopped and need to provide proof of residency or citizenship?

Just curious as a Canadian.

Re:Adobe will end support for Brackets on September 1, 2021 on Thursday March 04, 2021 @11:23AM (#26344367)
Google AppEngine (python variant) has been rotting forever. It's still stuck on Python 2 and has received no API improvements.
Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @03:18PM (#26184899)
Lots of major changes, so I hope it doesn't create a schism.

Do SQLAlchemy users appreciate how lucky they are? I generally prefer to use c#/.net but the 3 Microsoft ORMs (linq-to-sql, ef, ef.core) are all half baked. I don't know much about ActiveRecord, Django or other ORMs.

I wish I could have this sort of feature set and dynamic abilities that I get in sqlalchemy on the .net side. I say that as someone who loves SQL but appreciates the conveniences of a powerful ORM.

I believe those rules only apply to companies that are primarily tech companies (like EA of course). Tech workers at non-tech companies can get overtime.
Re:IBM is splitting itself into two public companies on Thursday October 08, 2020 @04:01PM (#24723238)
How about this then: IBM realized they're a bunch of clowns and can't compete in these industries so they made the smart move and got out.
Re:Significant JavaScript projects from 2006 to 2020 on Thursday August 13, 2020 @10:57AM (#24143963)
I feel even a list of the 5 most impactful js projects should include Firebug.

Firebug played a huge role in removing the shroud around javascript and making it approachable to a lot of people, helping them introspect others code, and improving their own code quality. After it, javascript became a beast you could tame rather than a source of endless frustration.

Re:Algolia introduces pay-as-you-go pricing for search on Sunday July 05, 2020 @12:33AM (#23736605)
Tried it out with about 10k short docs and it works pretty well as a potentional algolia replacement. I had to use 'sort_by' : '_text_match:desc' to get good results.

I couldn't find a way to create synonyms, is this possible?

Is it also possible to control typo sensitivity like algolia? e.g. min chars for 1 typo, min chars for 2 typos.

The curation features looks handy, but I haven't tried it yet.

Install and config was a breeze which is appreciated.

I hope it takes off for you. Nice work.

Re:Algolia introduces pay-as-you-go pricing for search on Thursday July 02, 2020 @08:25PM (#23719665)
For comparison, the old free plan used to be 10k records plus 100k searches. That would be $100/month now.

I think the new plan makes sense if you're selling to sites with purchase intent, but for searching knowledgebases it seems like it's way too expensive -- the value per search just isn't there. Especially when using instant searching and counting each slightly debounced keystroke as a search.

Older »