skysight-inc/HackerNews huggingface dataset:
The difficult calculus with Iran is trying to decide if they're actually pious enough to immolate themselves to take out Israel. Or whether a group could come to power who might be.

North Korea is insane in its own way, but hereditary personality cults do have a history of acting in the interest of self-preservation.
This is a very reasonable take. As you say, you can become interested in any complex systems to try and solve problems, so the main differentiator can become money. The issue I was pointing to is nobody else was pointing out that same context, they were solely about money. Not solving worthwhile problems. Not developing skill sets. Just the paycheck
That might be true according to some of the economic measures we’ve used in the past. But why should maximum efficiency and productivity even be the goal if it does damage? How efficient and productive is enough? If things could be efficient enough to support society without corruption, maybe we should prioritize safety over corruption even if it is less efficient?

This idea that a little badness is more efficient than no badness has played out multiple times in the past and one thing we’ve learned repeatedly is that humans are pretty bad at understanding and accounting for the full and true economic costs of a little badness, especially the humans that are making money. More often than not the damage done by badness is externalized and the costs ignored by the people who are profiting from the environment that tolerates the badness.

There are plenty of examples of this from the environment to product safety standards to the stock market. It was argued (fiercely) that the costs of seatbelts in cars was too high a price to pay for something that wasn’t helping every driver - most people, after all, don’t crash. This flawed thinking completely failed to capture the economic costs of car accidents, and today very few people even in the auto industry would disagree or even think of arguing against seatbelts.

We still don’t grasp the economic costs of pollution. We’re just starting to see the economic damage that allowing a little badness has had over the last century, and it’s already many orders of magnitude higher than most people thought several decades ago.

Similary, we’ve not really tallied the economic costs of poor people who’ve been pushed into bankruptcy by financial corruption. The growing inequality driven in part by lack of financial regulation is almost certainly fueling our political unrest, which we of course haven’t measured economically, and might not end well.
The biggest one is to use a timestamp instead of a boolean. For instance Laravel used `deleted_at` as the field name with the type of TIMESTAMP (for mysql at least).

This allows you to do a `select * from users where deleted_at is null` to get the active records, but also know when the user was deleted if you need to audit / rollback.
Because you can't cause the cpu's microcode to be updated with your hacked code by magic, and what you can do with a hacked cpu directly, and without being instantly oticed, is actually pretty limited. The way you'd get use out of it would be for some tiny single bit flip or extra op change in the cpus behavior to invoke some other larger thing, like run an execurable that wouldn't otherwise have been run, or make a region of memory readable or writable that wouldn't normally, or allow an instruction that wouldn't normally etc.., and in all of those cases you need something else installed and ready to make use of the cpu hack. But if you can arrange to insert that other stuff, then the job is already done and playing with something exotic like this is just stupid.

If you have the means to use this, then you already have the means to do 500 other simpler and more useful things.

It's like replacing the locks on someone's car so that you can make your own key work in it too. Sure, cool, but you already stole their entire car or at least had access to it in the shop, and could just copy their normal key if you want access again later, for much cheaper, in much less time, and much less risk of detection.
With better unicodes I wish computer language could use fancier
characters to express loops, conditionals and in general without using the english language.
goodbye to [if, else, switch, break, lastly, each etc..] let us crate a language that uses no letters but unicode symbols to express abstractions. Like emojis.
> Why are you comparing hobbies to professional cooking?

I can't tell whether you really don't understand or if you're straw manning an analogy and pretending innocence; trolling.

It's called a simile. It doesn't require all aspects of the two things being compared to be equivalent.

The things are not being compared on the basis of the professional status of the "trained monkey," but on the understanding they have of the sources of the things they use.
Untrustworthy founders and a $50M yacht: New Three Arrows Capital bankruptcy
Brandur will know what I mean when I say, it’s always worked out in our favor at Heroku to soft-delete logicals, but hard-delete physicals. It’s not hard to remember to append a “where deleted_at is null” to some sql, or build into higher order UI’s.

However, GDPR/customer data demands across regimes makes me agree with him and would suggests folks listen. <3
100% this. And yes, with inner joins it also solves the relationship issues.
MK is smaller because it was designed to be the cherry on top for EPCOT when it was a city. Walt wanted a city but the board wanted a theme park, so he put a watered down one at the top of the property. Then when he died the city was cancelled and the park’s design wasn’t changed.

It did end up helping to encourage park hopping, you’re right, but that wasn’t the original idea. Another site would be an interesting idea (especially if Disney loses the protections they have in Florida, making a 5th gate even harder to build), although I’d rather they just fix EPCOT :/
I read through the article waiting the whole time to see that "this is more readable", but I found nothing. Also I'm not sure if the Python examples are so blatantly wrong on purpose or if the author read one Python tutorial beforehand and then decided to write this article. For example this:

> In Python, you will never do post.__str__ for example. Instead, you’ll do str(post)

No you dont. You do the same thing you did with `puts post` in your Ruby example: `print(post)`, which will call `__str__()` method.

> In Python, it’s easy to accidentally write to the count attribute — which can break your program.

To address writing into attribute directly - you can use @property decorator, which will stop you into writing into given attribute, unless you add a setter.

However the main problem in this fabricated example wouldnt be that you can break your program by accidentally writing into an attribute. I'm not sure how common is it in Ruby, but mixing the instance variables together with class variables this way seems like a bad design, and that is what will break your program.

Regarding the Django example - ok that is far from perfect, but comparing a framework which maintains backward compatibility for years with code you write from scratch without worrying about anything is barely a fair comparison.
Sure it is: just work in trading.
Zig is to my knowledge specifically designed to have they kinds of use after free that C and C++ have. Their claim is not to “hide” allocation by requiring everyone to implement manual retain and release.
I don't think this is necessarily a bad thing on its own - it's actually quite reasonable that one person's focus when "building a text editor" is going to be lower level along the lines of "how do I write a buffer and process key presses" while another person's focus might be "how do I embed a text editor in my app so I can add my own UI around it".

But it probably does warrant some kind of rating or explanation for each tutorial, especially for the less experienced developer.
> So late in an interview with a hedge fund for a reliability engineering role was i asked to write an in memory database that could handle SQL commands

This industry has actually lost its collective mind.
I don't doubt or dispute any of your points, but it would have been far nicer to wait and air them at a different time and in a different venue -- step back for now and give people a chance to grieve and pay their respects to someone who just died unexpectedly.
Yeah, nah. Once I saw the sacks of red powder to dye the meat in the back room, I was out when it comes to UK butchers. Jesus Christ. And I quote, "you have to dye it or you'd never sell any, it can be all sorts of colours, including green".
Ruby is object-oriented, for better or for worse. Similar to Java, you can have static methods, but they have to live in a class (or module in Ruby's case).
I believe in most places, the worst they can do is blacklist you from the hospital. That's why they ask for money upfront here, and other uniquely identifiable IDs so they could blacklist you across the medical network, except there's no real system for this.
https://web.archive.org/web/20180324232807/https://www.wsj.c...
What do you mean with raw video files? As in losslessly encoded? Impossible afaik.
If you just mean a normal lossy encoded video: trivial.
Chicken tax?
And real quantum computers.

https://aws.amazon.com/braket/quantum-computing-research/
I’m very pleased with my Boomerang - I haven’t tested the alarm function out of consideration for my neighbors but it’s got the battery life I found lacking in smaller trackers. I hope the next iteration has wireless charging or a more robust waterproof port cover.

From experience tracking down a different GPS module and stolen bike: If you tell the kids who answer the door your bike was lost and there’s a reward for whoever found it, things go more smoothly than getting the cops involved.
I have to admit I'm getting a bit of fatigue reviewing frameworks in Node that are claimed to be batteries-included and similar to Rails/Django/Laravel. SailsJS, Redwood, NestJS, Remix, Prisma (ORM compared to Active Record). They all have an exciting landing page, clean looking documentation... but once you dig in further the feature set starts looking very <= Rails v1.0.

Anyways I appreciate the name drop of Adonis. I'll have to give it a fair shake when I'm not feeling quite as cynical because I _really_ do want to find a solid Node framework in this area.
My dad is not gay and he has children (me?)
Just to explain a little bit why the notion you're pointing to is incorrect -- identity and referential integrity fundamental concepts in the "SQL options" i.e. relational database management systems (RDBMS), based on the relational model[0], rooted in relational algebra[1].

NoSQL Databases arose from a realization that sometimes you don't need all the features of a relational database, for example:

- Redis which at the most basic level is a key value cache

- MongoDB which stores (denormalized) documents

NoSQL Databases like MongoDB are best when:

- All data related to a certain entity can be reasonably self contained (i.e. does not require relating to other possibly dynamic pieces of data)

- referential integrity (knowing that User.storeId can be treated as just a string) does not need to be maintained

- Constraint checking does not need to be performed or can be performed at the application level

- Schemas are either wildly variable or do not change at all, or checking them just isn't important.

The best example I hear often is a news site or blog -- if your main model is something like an Article that contains the author, content, tags and all data necessary to display one entry (and 99% of the time you get one Article and are not required to request related data that exist in separate collections), then NoSQL makes sense.

It's a tired conversation I think people have had repeatedly for a long time, so I won't go into it again (I'm also VERY biased towards RDBMS and in particular Postgres) -- would love to hear from experienced MongoDB proponents though!

One case I know Mongo was trusted for very early on was large scale out use cases, and after WiredTiger their execution engine improved immensely as well. I assume it's still great for that, where scale out is often quite lacking in RDBMS or not in the core experience.

[0]: https://en.wikipedia.org/wiki/Relational_database#Relational...

[1]: https://en.wikipedia.org/wiki/Relational_algebra
Note how that is the environment under Mac OS

This issue does not exist under Linux.
> regices

Please no. It's bad enough that people insist on using foreign plurals in English, let's not pretend "regex" is some latin word (it's just REGular EXpression).
For clarity as I'm in shock: the UK imports poultry from Brazil? Wtf.
This lost me when the first example showed named arcs in the python version, and none in the Ruby version.

Gues what? They aren’t required in python either
Transformer fires and explosions go hand in hand so often. Nothing terribly interesting about this. A5 transformer fire, small explosion (to be expected), no structural damage to the dam, turbines still generating power.
The dunders in python make my eyes bleed. It stands out in an otherwise neat language, due to its significant whitespace.
Yes, that's exactly what I mean by it not being useless. If everything is working perfectly, then perhaps ends up not doing anything, but it's good to have another line of defense for when things go wrong. It's the safety net for when someone messes up CSP.
Some things cost infinite money to do in x time, but would be free if you waited longer or got rid of the regulation making it impossible to do.

(i.e. you could have more lab employees if housing was cheaper.)
Lots of culture will be lost one way or the other due to climate change. Addressing climate change the soonest possible is how to keep as much of what we know as normalcy into the future.
Thanks, reviewed research, unclear though how a synthetic voice reading off a single word per unit of measure is an accurate gauge of average listening rates.

From page 4 of 12 of the PDF you linked to, “Rhyme test: measures word recognition by playing a single recorded word, and asking the participant to identify it from a list of six rhyming options (e.g., went, sent, bent, dent, tent, rent). We used 50 sets of rhyming words (300 words total), taken from the Modifed Rhyme Test [27], a standard test used to evaluate auditory comprehension.” The word list research used is on page 30-31 of 55 of this PDF:

https://www.researchgate.net/profile/Michael-Hecker-3/public...

If true, test appears to not even measuring word recognition, it’s more accurately measuring a single phoneme recognition. If the listener correct picks the correct phoneme from a multi-choice list, researchers assume person would hear and understand 100% of any expressions received at that rate of speed; which in my opinion is clearly flawed.

I would be the first to agree that testing listening comprehension rates is hard to do, hence why I asked to review research, but to me, unless I am misunderstanding something, unclear how this research actually provides any meaningful observations.
I am not very well versed in modern Postgres solutions, but at a certain scale, you need to shard your Postgres databases into separate servers. It is not distributed, at least not without some fancy 3rd party plugins? As a result, your application code gets messy dealing with all these shards.

With Mongo, its distributed by default. And if your data keeps growing, you simply add more nodes without any additional changes in the application code.
Swiss Cheese Model.
I hope, the Haskell-based Quipper [1][2] quantum programming language will get more attention and support by this QVM. The linear types[3] recently added to Haskell make very good fit for quantum computing, unlike many other existing languages.

[1] https://www.mathstat.dal.ca/~selinger/quipper/

[2] https://hackage.haskell.org/package/quipper

[3] https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/line...
I have this same problem. The procurement department of the public company I work for is awfully slow when procuring new contracts and/or services. It would definitely help us if this process was faster, but I am not sure if we would buy a service for this sole purpose. It depends on the ROÍ.
Don’t be silly, calling the most rational decision abuse makes you sound insane.
This is a general problem with Microsoft and not just Azure. You can’t rely on anything new that Microsoft has released in the last 1 to 2 years. And especially anything that they are heavily promoting. They naively seems to think that rewriting something that ALREADY WORKS with a half-baked unproven new technology is a good way to invest developer salary $. How naive is that? Remember Silverlake? Remember Microsoft trying to pretend that C++ is dead for years and being forced to back flip because strangely companies out there did not rewrite their proven 10 million line C++ applications in C#? Microsoft in general has zero clue on what is important to the companies using Microsoft tech. What matters to mature developers and companies is stability. Being able to rely on a tech for decades without having to throw out millions of $ to rewrite everything using the latest wet dream tech generated by Microsoft.
I'm not sure that's true? Maybe it depends on the location but LHR is asphalt, CDG is asphalt, AMS is asphalt, YYZ is asphalt... Only when you look at hotter climates do concrete runways appear common.
Police in the US exist to protect themselves. They don't care if you're rich or the embodiment of capital or not. They won't do things that would put themselves at risk, and they won't get fired for not doing their jobs.

Saying "thing A was originally B therefore A is secretly B now" doesn't seem to usually be true.
Even if not to get the job initially, it will affect performance related actions. Do you give her a bonus or not? Office, assistants, projects, perks, titles?
All of those are eligible for bounties

Be a bounty hunter and find out

Anonymity requires you paying a lawyer to do the filings
It's a bit of a weird take when attribute definition in Ruby also uses at signs specifically. Which part do you find ugly?
nope, they’re pulling back and making this the reason why.
FTA:
>Intel is now holding that factory hostage. Last month, Intel canceled a groundbreaking ceremony for the Ohio plant, saying it was delaying construction due to Congress’s failure to pass the subsidies.
Hey nice post! That’s exactly what I’ve been thinking about for the past few (many?) months!
M2 MacBook Air Teardown: Apple Forgot the Heatsink?
Is marriage outlined in constitution? State issue then.

Unless it falls under interstate commerce clause like everything is…
If your reading speed is the limiting reagent for your understanding a piece of writing, you should read something else. It's like if the limiting factor in your programming speed is typing. The thing to fix is probably not your typing speed.
Actually globalization of food had decreased cost by huge amounts. Local production would help with supply chain resiliency though.
Not really, shops around me don’t have the niche things I want. I have a Amazon credit card that gives me 5% back on each purchase and a lot of things are one day deliveries.
> Who are the large Mongo customers?

Companies that adopted this technical debt during its prime (2010-2015) and are now paying for enterprise licenses and support to service that debt.
Not to the individual. But it's massively profitable to society. Literally every modern technology is enabled by math.
It doesn't matter whose fault it is if we all go off the cliff. You can work better with coddled egos then with people in an antagonistic position.
Even here in wet Vancouver Island, British Columbia we have heaps of streams that are mostly gone by July. They are rain fed, the rain goes away, it’s just how some systems work.

I’m not saying everything is fine with the environment. Just, this is to be expected with a large number of streams in the world. Maybe it’s not alarming in each case.
But is the point of death the right point to these grievances? Like wait a day or month even.

I get that some grievances don’t need to wait (Limbaugh) but it’s a high bar.
Your knowledge is limited by the proprietary closed source nature of those machines.

Perhaps it is unwise to inhibit the spread of ideas which lead to auditable systems.
Please no.

Font ligatures are bad enough
Yes, I do. I just prefer ridicule in this case.

And I have no idea about their attractiveness, nor why my having a better argument would be dichotomous to their unattractiveness.
Work customer service for a year.
A few football fields would cause a lot of water drag and also probably not even be enough power. A solar panel is about half a kW, and I’m guessing a big ship like that will take upwards of 80 to 100 MW normally, so you need like 160k to 200k panels.
An abandoned Berlin airport is being transformed into a car-free neighborhood
Anthropogenic and Natural Radiative Forcing [pdf]
Qualcomm had a trolley station right up against it, before the stadium was torn down. But the city had expanded to surround the stadium.
75% of middle-class households say their income is behind the cost of living
Most NDAs are now outlawed in Washington state
Funny the agenda-laden downvotes I'm receiving as well, despite ample evidence. Only an artifact of folks perceiving a conspiratorial political bias before considering the damage the WEF is in fact doing to the world by installing unelected "young leaders" into any nation or corporation it can get its dirty hands on, determining policy and international direction without the consent of the governed, much less, not nearly enough consent if any exists at all, outside of the political elite who already endorse them for their obvious financial gain.
Well written - I’m also a former stripe although a far more cursory one, and I quite often miss my former team.

I’ve tried very hard to keep my current company from becoming a “lgtm” company — but my god do you need a lot of resources to pay enough engineers to do anything other than “lgtm”. If I could have raised 1/5th as much for my startup as the impact I’ve had at large corporations, I’d probably be able to pull it off. Alas.
You get facts from measuring devices, not people. And even then, when you read the number on the display, or try to figure out if the device is functioning correctly, the facts instantly become opinion again. If it helps you, prefix everything that everyone ever says from now on with "It is my opinion that..." e.g. "it is my opinion that it is 6 o'clock."

The "that's just your opinion, man" thing is the only thing I'd like to see as a universally ban-worthy offense on the internet. It's an entirely empty statement that can be made about anyone who said anything, is always a bitter defense against somebody who took the risk of putting themself out there, and shouldn't be seen as anything but a troll.

And I'm fully aware that this is my opinion, which is why I said it and not someone else.
> You're not in the club if you have enough free time to spend commenting on HN.

Musk has enough time to spend on Twitter. Don't see how "being rich" precludes commenting on teh interwebz.
Giving it less funding won't make it better, nor would it magically make something else appear. You'd need more funding to have a program like "actually firing them if they don't do their jobs".
Hmm. I knew how to read python before I bothered starting to learn it. There are language primitives in Ruby that I have no experience with. So the premise is simply wrong...
Quick plug for the Land Value Tax

https://astralcodexten.substack.com/p/your-book-review-progr...
Wow, ok. Will look into all of the above. Thank you!
I assumed OP was asking if Ruby had a way to import specific functions from a module (i.e. "from math import pi".) the way that many other languages (like Python) support. Instead, Ruby forces you to require the entire module, which makes tracking public interface usage harder.