skysight-inc/HackerNews huggingface dataset:
Yeah From NAND to Tetris is probably a better more structured approach, I kind of just went off and did my own thing but I'd imagine it's more fun to get something playing Tetris!

Blog post is here:

https://medium.com/swlh/i-dont-know-how-cpus-work-so-i-simul...

non medium link: https://djhworld.github.io/post/2019/05/21/i-dont-know-how-c...
That sounds insanely cool! Is the Arma 3 modding support better than Arma 2? I bought Arma 2 exclusively for the mods.
I'm amused that we're getting downvoted when our comments should be at the top of this thread.
This link is a better intro than the linked abstract (contains a gif explaining the concept)
https://m.phys.org/news/2019-08-mathematical-framework-sheet...
Nice. Is there a similar standalone C library for safe/sane string handling? (Please don't tell me to use C++.)
> If Germany switched back to the Deutsche Mark tomorrow, their currency would instantly shoot up in value relative to the rest of the EU.

I don't see how that stops them from selling things at the same price as ever, denominated in a neutral currency.

> It's not just the currency though. The "German model" has been to keep wages depressed. That's also how their exports are "cheaper".

Paying your workers less does make things cheaper, so I'm not sure why you used scare quotes.
If the inventors were from the ancient world, then to have ancestors of theirs working at Facebook is the bomb, dude!
The Mac shell environment is substandard the longer you press it. Standard utilities are often not the GNU variants so they are often slower and lack the features you may be used to. Homebrew is a second-rate package manager. Worst of all, actually becoming a power user entails learning macOS specific, non-transferable skills that would have been more generally applicable if you learned them in a Linux environment. Also, the default file system setup is case-insensitive, which makes some Git repos nigh-impossible to work with.
If you hit Publish on your personal blog three days later than originally planned, you’re unlikely to be fired over it.
Did we start to automate our HN comments with AI?

EDIT: OP just added line breaks. Imagine the same post without them.
the 1948 war happens after the 1947 UN declaration recognizing the partition of the region into two states : one for the arab and the other for the jews (israel). The declaration was accepted by the UN.

The fact that this declaration was accepted by a majority of states including the most powerful ones, and yet lead to an immediate never-ending war is the point i was trying to make. To my knowledge, borders always get determined through war, even if you try to begin with a legal procedure.
I work with c# all the time and would love to hear some of your lessons learned on performance improvement.
I assume that's true of all writing - It's subjective, whether or not you'll enjoy that particular piece.

That's why I was hoping to hear many answers from this community of like-minded people as well as (hopefully) some justification for their answers.
>being a long time lurker of Reddit's r/unixporn

lol of course they would go with Manjaro and i3.
Clojure. Started with "Getting Clojure" book and can't recommend it enough. Written in a clear and practical style.
This year our project is supposed to go into series. So I'm learning a lot about ISO26262 and safety and what that means in practice.
> Not something that's particular to F#, though.

So what's the point of the comment? You could make this exact same comment almost any time someone posts any cool project they made. 'Look at all the dependencies! Project tooling, IDE, runtime platform, version control, libraries.' It doesn't add anything useful to the discussion about a specific project.
how do you know that that function doesn't use strtok (or call another function that does...).

The same way you know a lot of other things about the codebase: By reading and understanding it. Given what strtok() is used for, it's almost always going to be working on a single context at any one time.
There is lots of capital that an individual can't reasonably invest. Even if I live paycheck to paycheck then I still on average have half my salary in my bank account. As an individual that's just my working capital, but as a bank I can take advantage of the fact that some people (in Germany) get payed on the 1st and some on the 15th, meaning there is some constant amount of money that can be invested.
As a French, I have never heard about this name. The article mentions the Château de Meudon, which I know reasonably well (I took the aerial views linked to on the wiki page https://en.wikipedia.org/wiki/Ch%C3%A2teau_de_Meudon): "ha ha" isn't found on that page, and I can't think of an example of such a construction in the domain.

Isn't this a term attributed to the French but exclusively used in English...?
There are situations where one uses a full featured abstraction like a database without needing to understand fully or modify it's internals. This is simply not one of them.

This is a situation where building a new applications with handmade layers that produce the outcome you want is more efficient than gluing together existing code.

You're coming at a complex problem by initially filtering the solution space. This discards much of the potential solution space for which the average case may be more expensive than The average case in the space after culling. However in many situations that solution space has many gems which are more efficient. Companies' tolerance to selecting those rather than using existing technology varies.
It's worse than that, because the trip will take the passenger to the light rail, which itself will cost an additional $4 per trip subsidy. For the $27 each ride is being subsidized, Seattle could easily subsidize a point-to-point trip downtown from the suburbs.
To add, we discussed this at work this week, and someone tried cutting the example on our laser printer. Broke when trying to expand it, though.
>Why not just subsidize Lyft and Uber rides? For these short distances, it'd probably be less than $5.

They are already subsidized, by billions and billions of dollars of venture capital.

When you pay less than $5 to get from one side of your city to the other in the middle of rush hour, that's not covering the entire cost of the trip.
Natural fibers are great--including ones like Merino Wool that aren't modern innovations although a lot of the way it's used mostly is.

But if I look through my outdoor gear and clothing, there have been huge strides in just the past few decades. Not all of the new stuff is great. And some definitely trades durability for light weight (or cost). But overall, what I can buy today is pretty great compared to what I had in Boy Scouts even if some of the older clothing fabrics (like boiled wool as you say) still work quite well.
It's very possible that they are not being manipulated, simply that most people who use the internet are more left/right wing. That's the amplification of the majority.
Sad to see my submission flagged! Posted it because I came across this story on a reputable site (BBC) and I was wondering what people abroad, especially US, might think of it. I've lived my whole life in Europe so I don't have much context about the issue.
Well considering they the decision by the UN was totally made by western colonial powers, with total disregard for Arab opinion, it’s not surprising it was going to lead to war. The Yishuv expected a war and used it as a platform to expand their territory and execute their plans.
“Zero-cost excluding the cost of insurance” is more precise here.

Bitcoin is zero-cost^ to store for any dollar amount. So are gold bars.

Insuring them against theft and loss is not zero-cost.

A shovel for burying gold in your yard is cheap (high capex, low opex), but if a sinkhole opens up and eats your gold, you’re probably out of luck. A hard drive for your Bitcoin is cheap (high capes, low opex), but if a lightning bolt burns your house down and you aren’t paying for offsite backups, you might be out of luck.

What degree of loss do you wish to insure against (accident, damage, theft, loss) — and what percentage of your money are you willing to spend on that?

^ “I bury coins on my land” seems zero-cost, but it just means that you’re paying property tax to insure against treasure hunters uncovering your hoard with a metal detector. External costs need to be accounted for.
Woodworking, I have completed a few projects so far including a work bench. I found it as fulfilling as writing software, a good hobby to develop without burning myself out with my software day job.
Does this mean that lack of dairy consumption is associated with a higher risk? Maybe, maybe not. I'd love to see some data that included a large group of people who are lactose-intolerant.

But whatever you read, the biggest threat to your health in many ways, will always be stress. So don't panic and remember, quality over quantity every time.
How disruptive have the ownership changes been over the last few years? From going public now back to private?

ANY thoughts on the strategic value if PVTL under the VMware umbrella? Already close partners will the acquisition really make any difference?
Don’t forget the soil. Old prairie has immensely thick soil, with a high carbon content. Think deep plant roots. With the right management, ranchers could mimic the prairie ecosystem, restore and build soil, and sequester carbon into the soil. It’s not easy, but the most successful farmers have been astoundingly successful.

Not that any of this is a valid excuse for burning down the Amazon.
AWS and how to deploy a complete web app with the service bundles (EC2, Elastic storage S3, etc.) It is an amazingly fulfilling experience as a product manager.
I think the lede is buried here, since it doesn't sound like any of them regretted their decision of seeking more meaningful work. The take-away seems to be that it may not happen right away with the first job you take and it may take some time to get adjusted (from a high-earning lifestyle).
IIRC, StrSafe.h - and much more - came from the development of the Microsoft Security Development Lifecycle (SDL).

Code Red was the wake-up call for Microsoft and in February 2002, based on a memo from Bill Gates that first coined the phrase "Trustworthy Computing," Microsoft shutdown Windows development for the first time ever to get a handle on the security issues the products were facing.

https://www.itprotoday.com/strategy/story-behind-microsoft-s...
I spent about 9 months 2 years ago learning Swedish. It was really fun and I enjoyed watching Swedish tv shows. I think learning languages just because is pretty rad
I'm a software engineer who has until now mostly worked on web applications (backend and frontend). I have recently been learning Unity3D which has been immensely satisfying. The breadth and depth of skills needed to tackle projects in this field makes for some really interesting work.

I am currently awaiting approval to sell an editor plugin on the Unity store which I spent some free time working on as a side project. In game level design, most artists make use of 'modular' assets to some extent. These are small sections of a structure e.g. a corner wall section or a roof section, which can be combined together to make endless variations on a building style. The plugin I made allows you to specify 'sockets' on each modular asset, including a type and compatibility system, then it handles automatic snapping together of assets in the editor. This speeds up a assembly of modular assets significantly. The alternative, old fashioned way of doing this is 'vertex snapping' which is tedious and time consuming.

Video here: https://youtu.be/MvYTbIU1d-c
I'm not saying the algorithm is trivial, as it has to take long-term factors into account, as well as the reaction of the market to the new interest rate, and of course add safety and profit margins. It would be quite a bit of work, but it's well aligned with the core-competency of banks.
Maybe IKEA, since they make it so difficult to leave.
Matt Levine's take (sorry Matt for the long excerpt):

https://www.bloomberg.com/opinion/articles/2019-08-19/we-loo...

The managers and the board, in this version of the corporation, are the only ones representing all of the constituencies, so they are the only ones qualified to evaluate their own performance. If an activist shareholder comes in and says “we should replace the board because performance is bad,” the board and the CEO can respond “no you are just saying that as a greedy shareholder and we shouldn’t listen to you.”

Another way to put it is that the corporation really does have to serve many different stakeholders, but in practice most disputes over corporate governance are not between shareholders and employees or shareholders and polluted watersheds, but between shareholders and managers. And these disputes tend to follow a stereotyped pattern in which disgruntled shareholders say “the stock price is low” and the managers say “ah but in the long term it will be high.” Because—on the agency-cost view—it is just harder to measure the long term (since it hasn’t happened yet), so you can’t hold the managers to it. Similarly, if managers can respond “ah but the stock price is low because we are serving other constituencies,” that gives them another argument against the shareholders.

... So when an association of big public-company CEOs gets together and declares that corporations should serve the community, take care of the environment, and be responsible to employees and customers, not just shareholders, that might be because the CEOs have thought it over and decided that employees and the environment are getting a raw deal, but it is also possible that the CEOs have thought it over and decided that shareholders are annoying.
Not using it can also create spaghetti code. For example the "alternatives" often suggesting for exiting a multi-tiered loop (which often add additional boilerplate, additional variables, etc that all need to be maintained/bug free).
I hate DRM on a personal level, but it's obviously protected under free speech, just as much as breaking DRM should also be protected speech.
Then buy the US risk free rate instead? Or get some nice equity premiums if you want. I seriously have a hard time understanding logic like this. Who is actually saving money in a savings account? There’s literally only one reason why you would keep money in a savings account: For FDIC (or equivalent) protection. But if that was the sticking point, then US T-notes are even better and they don’t have a 250k limit.

Maybe this guy doesn’t know anything about finance and doesn’t understand? I’m confused.

Moreover, this is exactly what rate cuts are for: to stimulate the velocity of money and encourage investment.

Europeans in general are so risk adverse that they make irrational financial decisions. As EMH posites, you get a return commensurate to your risk: without bearing risk, there cannot be any return.
But They are clearly not employee focused, which is half of that social equation and most of the “half your waking hours” comment.

More and more they are “customer-focussed” in the sense that cheetahs are antelope-focused. The way Facebook and Google have turned out.
I don't think you can say that reasoning is quite true or false. The main thing about that argument is it compares apples and oranges. Human beings construct beliefs about each other's processes and provide reasons for actions which are far from scientifically accurate but which are crucial for us to operate together as a species - and our ability to operate together as a species has been key to our success, despite the many limits we have to our ability to operate.

Which is to say we don't experience each other as black boxes (regardless of whether we really are these). We experience each are partial unknowns - people often do unexpected things but we often construct plausible after-the-fact explanations and those who consisting do things without any explanation make us nervous.
How do you consider a card 'done'?

I've experimented with Trello in the past for this, but I always just ended up with a massive list on the board and spent an unreasonable amount of time antagonising over when cards should be considered finished.

Might be easy for "learn how to do X", but more difficult for broad topics like "learn rust"
Teaching. This will be my 1st semester as an adjunct at my local community college teaching Project Management 101.
I suspect lactose intolerance in the US is inversely correlated with wealth -- so this could just be another study showing that wealthy folks live longer.
Past 6 months- 1 year for me was a lot about reading about leadership and how to be a better lead. Also played a bit with Rust.

I've started learning clojure a week ago and want to continue in this path of learning / build something cool with it.
Read David Tribble's "Go To Statement Considered Harmful:
A Retrospective" instead: http://david.tribble.com/text/goto.html . It contains the entire text of Dijkstra's paper and goes over its meaning in a modern context on a paragraph-by-paragraph basis. It's very well written and makes clear the "encourages spaghetti code" argument, while true at the time, applied in a era where basic control flow constructs that we now take for granted did not exist in commonly used languages.
Security Researchers Find Several Bugs in Nest Security Cameras
That’s not true if you’re talking about well-made men’s dress shoes. In that market, the best shoes are the best entirely because of materials and workmanship. Brand mainly indicates the level of quality you should expect as a buyer. Also, the brand can’t serve much of a social signaling function because usually trademarks aren’t visible and designs are traditional.
I'm reading a Rachel or Joel post only to realize I've already read it before. And realizing that entrepreneurship is mostly about luck and timing. And that you do not earn money by making a good product, you earn money by buying something then selling it at a higher prize. eg. hustling.
You can always live in a home.
This is where I get confused. Are you criticizing a particular architecture, or architecture in general? Is it even possible to have a system without an architecture?
One of the checks and balances that we have worsened since 911 is the division of powers. No group had a monopoly on many aspects of your life and so you could “shop around” if things got bad.

And this is why you need antitrust laws. I need an option to use another provider if this one is treating me unfairly for dystopian or other reasons.
> it is the antithesis of the issue

Friendly nitpick: antithesis means the opposite of something. You probably want epitome, archetype, exemplar, quintessence, apotheosis, or similar.
All the talk about 'government waste' in this thread makes me think of my home town, where you still regularly see massive city buses driving around town without a single passenger riding in them.

Moving people on demand is definitely not cheap, but surely it is more cost effective that casting a net of mostly-empty buses around the city for half the day.
I we wanted to we could always spend almost unlimited amounts of money on reducing our GHG emissions. Now would be a good time.
Is it really that bad for a general readership? I'd like to see automated testing in there. And maybe incrementally improving products. But to someone who doesn't know and doesn't care about the details of software development, it seems to capture the basic gist.
Ah, sorry about that. The blog is better at the moment (https://medium.com/darklang) but we're updating the site in the very near future.

OCaml was because I had experience with Haskell and didn't like it, and with Elm, which I did like. We tried it for a while as an experiment and it worked really well.
>let the same free citizens start their own competitor.

Except that starting a competitor often requires far more capital than the incumbents needed to reach their position. I don't support protectionism, but "true free market" economics are an illusion used to prevent and tear down regulations.
I can think of multiple graphs representing the same knowledge, some smaller than others as irrelevant nodes are pruned, paths are shorter, etc.. The smaller ones encode that same knowledge with better understanding.
Indeed that’s why I explicitly said “The EU has no such fiscal mechanism...”

Edit: oh I see that poor editing on my part implied that labour standards were part of fiscal transfers, a nonsensical connection. My apologies)

As a former EU resident of two different countries I have benefitted from EU labor laws.

Regional development funds are practically below the noise floor as a part of the Zone’s GDP (and are in fact EU-wide, not just eurozone-wide). Most of the money is squandered (not necessarily through corruption, just lack of macro efficacy) as it’s such a small amount it gets little attention.
Usually this happens on weekends when I go on long rides. Smaller roads without a bike lane are worse than bigger multi-lane ones. Places outside Seattle proper are the major offenders: Bellevue, Issaquah, Renton, Enumclaw, to name a few. Maybe it’s the fact that I’m wearing a cycling kit that ticks people off.

My commute to work is usually uneventful, about 10 miles mostly on dedicated bike paths along with many other commuters. It’s a few miles longer than it should but it’s definitely the safest route to work.
I want to give this a try. Years ago I stumbled upon a similar project written in python which I don't remember the name of, but something about its handshake must have been fishy as most clients disconnected again right away without trying to authenticate. (The initial version string sent by the server looked fine but I wasn't motivated enough to dig any further.)
> I'm not sure sounds are needed to link to the language system in the brain.

In the sense that, for example, deaf people can still learn speech, just not with sounds, this is of course true. But I'm talking about the case of a child with normal hearing and speech, where meanings are linked to spoken and heard sounds when they learn to speak.

> there were certain words that I never bothered assigning sounds to until long after I internalized them

Words that you read, or words that you spoke? I'm going to assume the former since speaking a word is assigning a sound to it. If you don't assign sounds to words that you read, how would you speak them? If somebody asked you to repeat what you just read, what would you say?

> Even if sound is needed, I don't understand why the author couldn't just assign the sound of the letters in a word being read out in order for words she didn't know.

That's what phonics is: you learn to sound out words you don't know letter by letter. Gradually you build up skill to the point where you can effortlessly translate written words to sounds, or more precisely to the structures in your brain that you previously linked to spoken or heard sounds when you learned to speak.
Hmm, I think it's more that types make it possible to refactor without fear, both at the prototyping phase (when you refactor so much, I had 800 lines of python before that that I was afraid to touch) and later.
I was told on HN that drug legalization will eliminate the illegal market, bring in money through taxation, and guarantee a safe product. Win/Win/Win

I'm confused. What's going on?

I think this is fake news pushed by people who want to make it illegal again.
I'm coming from a PHP, JS, Python background. I've used strongly typed languages before, but not to a great extent.

Rust feels like a well designed language and ecosystem so far and I think it learned the lessons where other have failed.
The #MeToo movement covers a lot of people. Any mass movement will include some more extreme than others. I don't believe your characterisaton of the movemnt is a fair description of the average person who is part of it.
Indeed. Despite not having actual goto, Java went out of their way to have labeled loops and the "break label_name" syntax in order to avoid this awkwardness.