skysight-inc/HackerNews huggingface dataset:
Your language has been submitted to Hacker News here:

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

Just letting you know in case you want to respond to comments, including mine. ;)
You do not really think that? At least ethically speaking that sure can't be. Then I also suspect you would be frown upon for selling exploits to North Korea or Iran buyers for instance.
People deserve to be compensated for their work, however, to suggest selling it to the highest bidder is completely unethical. If you undertake work without a prior agreement to be paid for it, you can't go and hold the security of the userbase hostage in demanding payment.
Is there a way to use the React hook stuff without having to put the backend logic _inside_ of your UI generation code?

It really feels like if there was some way to put this really dirt-simple counter code into a plain-Jane Javascript object then a lot of this hand-wringing about state management in React goes away (contexts are an interesting little solution to things though)
EU is large enough they could do this alone. Or team up with US and really have some firepower.

Things like this is the point of the EU, not creating swaths of regulations about how much or little banannas can be bent.

A place like Australia (alone) could never stand up to China. They would be too willing to make an example of a small country that crosses them. China trade comes with huge amounts of political pride and convenience. Even if Australia joined forces with a larger block we risk being g made an example of like that general saying he would sink an Australian ship to send a message to the US.
Bertrand Meyer is constantly at the top of my “people to read when I’ve read all of my unread books” list and unfortunately the last time I looked those books were out of print.

My feel at the time was that Meyer introduced Eiffel right on the cusp of the move to free compilers, and he never recovered from that tectonic shift.

Whether most developers of that generation could be convinced that rigor was useful I cannot say (but fear the answer is “no”), but they certainly weren’t going to pay to learn or use a new language.
Great Siege Tunnels
Volt looks amazing. I've been looking for a native IM app for a while, and I couldn't find one. I hate all those electron or browser apps taking hundred of MB of ram just to display messages.

I hope it succeeds and is released soon! Thank you very much for your work.
In my experience, the other guy has it right: "Small-d democrat" means someone who supports democracy (... enough compared to some base line in whatever context that it's worth discussing), not someone who weakly endorses the Democratic party. A small-d democrat may be an avid big-D Democrat, or a weak one, or not one at all. I'm sure a big portion of the Republican party are small-d democrats when the alternative is monarchism.
The keto crowd seems almost like a cult sometimes, there is pride and defensiveness. Veganism isn't the only adopted diet people get attached to. Like that millionaire ex-Googler's blog post the other day, sinking most time into an "is it keto" app. It wouldn't have been out of place on The Onion.
How using Google APIs screwed me?. You could be next
All I wanted to do was get the website address for a given place. I wanted to use the Google place APIs. For this to happen, you need to get the place ID first with an API request and then use that place ID to get the website address in another API request. They documented that getting place ID is free but what they don't do is given an example of how to do it wrong which could cause a bill of thousands of dollars. Making an API call to get the place ID with one of the examples they have costed me around 2000 dollars for 'n' requests which could have been completely avoided if they gave proper examples. I was expecting to pay around 200 dollars for getting the website address, instead i got hit with 2000 dollars. Ain't this ridiculous. Do you still want to use Google APIs and get charged butt load of money or do you want to switch to AWS and have better peace of mind. Choice is yours. What is even worse is you get tossed around by the Billing dept to tech support and each of them passing the buck to wipe their slate clean. Seriously Google ?.
> make the whole concept of us humans not laying eggs, putting some semen and mud on them and disappear into the wilderness an evolutional waste of time.

> putting some semen and mud on them and disappear into the wilderness

what?
if you think facebook is doing this because they are "on your side" you are a complete sucker
Why doesn't Apple have a bug bounty program for macOS?
Errors Found in Forensic Software Meant to Assess Age of Death of Skeletons
There’s the urban legend of senior citizens buying dog food to eat because they get so litttle in retirement checks
Using "title:" you meaninglessly narrowed your search. There are postings like "Software engineer" with body saying "Developing with JS, and Clojure" which won't appear in your results.

Number of "Clojure" results is 109, compared with 98 for "Haskell", for instance (in London, according to indeed.co.uk). So both are not scoring big, certainly, but those numbers are nevertheless better than 3-4 years ago.
Time is a flat circle.

The industry oscillates. Each oscillation is a mirage that presents itself as a productivity gain but is in actuality an echo of the past.

Are the techniques we use today really more productive?
Just use gitk...
It is a flat fee... $15 per two weeks
They have to get this into grocery stores for it to work, IMO. I need to be able to bring back a pile of dirty containers, throw them in a bin, get back credits covering X new container purchases, and then go walk into the store and buy new things in the same sort of containers. To get started, all you should have to do is just buy something. The containers themselves should be as re-usable as any cheap Tupperware clone.

Shipping this stuff back and forth is pants-on-head retarded. It needs to be washed and sanitized in-store and filled up with bulk goods in-store.
Another interesting part of that movie is the salami slicing plot line. Salami slicing is the name for collecting factional cents off thousands of transactions to accumulate a big payout without people noticing. It's featured in a bunch of movies:

- Superman III

- Hackers

- I love you Philip Morris

- Office Space

I mention it in my talk about how to program database systems safely when handling money to avoid situations like that. It can also happen by accident when converting between floats and Decimals incorrectly while programming.

https://github.com/pirate/django-concurrency-talk
I'm not sure I get what is going on in the live reloading code.. if you update the draw function to change colors, then why does the block only change colors when it hits the edge of a screen?

[0] https://volt.ws/img/lang.webm
What test? Please define "able to pay the loan back".

AFAIK, payday loan companies do require the borrower to be employed, hence the name "payday".
Its true, I don't know why you are being downvoted
That's not my definition you're using! I wouldn't count a hypothetical Satoshi dump as inflation, nor do I count new coins mined as inflation. Again, think of Bitcoin as analogous to gold (and ignore the fact that we can technically make prohibitively expense gold now, as economists of the past were not considering modern alchemy when defining inflation). We don't claim that gold has inflated when more is mined, because it is understood that the gold mined already existed. The fact that there was hard-to-get gold underground has already been accounted for in the market valuation of gold. The fixed total number of bitcoins is what makes Bitcoin deflationary, even though more bitcoins are becoming available in the short term; the market knows this, and has theoretically accounted for it. This is more true of Bitcoin than the classic example of gold, as our gold estimates are just that and our Bitcoin estimates are perfect (barring breakdown of the network). Yes, the market is irrational and hasn't _really_ accounted for it, but don't tell the economists that! This is covered in intro macroeconomics, a currency/commodity isn't considered inflationary just because more becomes _available_, it's about whether or not there is a known finite supply. I'm not pulling this out of nowhere. Ask any economist if Bitcoin is deflationary.
This gives me the idea for an "escape room" type of game, which would involve the subject taking a vacation for up to 2 weeks to participate in the game.

The business gets them into a room and interrogates them about a pre-arranged secret. Something awkward or embarrassing (but obviously not criminal or dangerous/harmful, etc).

If they give up the secret, intentionally or inadvertently, then the business gets their money (a lot).

If not, the subject walks away having paid a nominal fee, with a certificate and bragging rights, and can use the remaining days to enjoy their vacation or go back to work.
It's automatic for every WiFi connection, I believe.

Someone pointed out to me on Twitter that there's probably still more fingerprinting happening behind the scenes here, so worth noting as well.
A democracy and a republican are not mutually exclusive. The US is a democracy.
Mead also seems to be very uncommon these days and is featured in The Hobbit. I’ve only tried one homebrew attempt of mead, but it tastes a bit like Western-style konbucha mixed with honey.
> I wouldn't rely on companies to solve it, equality of opportunity needs to start much earlier.

Completely agree. However, I’m amazed that otherwise profit oriented companies wouldn’t think to explore alternative recruitment channels (even if they take time)
We're linking music videos on HN now?
Thank you! That's what I thought too. They could have kept me waiting while the other candidate was deciding. I do feel a bit offended at first because this is basically telling me I am the second or even the third choice...Anyway, I feel like continuing the interview with the other company seems like a better move than straight up accepting this job.
I understand that the Kata folks want this and why. Given what Google is doing with Crostini and the overlap between Kata/Firecracker/crosvm, I'm curious what ChromeOS engineers have to say about virtio-fs.

(And while I'm being curious of those folks, what their expectations are around virtio-wl going forward, upstream, etc?)
Yep, I often wonder if the driver sees the tip amount before they deliver, and puts less importance on your order if the tip is considered low.
Valid point. Ageism can also include people thinking your advice is an unwillingness to change because of age ("old dogs don't learn new tricks" mentality), versus a young "opinionated" or "emotional" worker.
Unless they purposefully produced hash collisions by truncating the hash, they've just traded one unique identifier for another one. The information they throw away is not very hard to recreate, you just need to discover an individual person again (provided that the MAC hasn't changed), hash it, and now you've got the hash->MAC mapping for that individual, and you can look at their location history.
"OECD countries need to band together to respond to countries abusing global trade."

Funny enough this was what the WTO was supposed to be for.
I sat and analyzed the things that were bugging me most.

It turned out it was the hour and a half commuting on ridiculously crowded trains every day, the total lack of privacy I had in my open office, and management which wasn't flexible about my hours.

So I ran away to Europe for three months and when I came back I landed myself a remote job.

I love the product, management is very handsoff, and I'm basically left to myself most days.

I get tons of work done because it's so easy to focus.

I'm never on a super crowded and long commute (or at least not daily).

Everyone in my company is always happy to hear my updates which I post here and there as I work.

And sometimes I take a nap for thirty minutes during lunch.

Life has never been better for me. I've eliminated the bad (commute, bad management, lack of privacy, inability to focus in a crowded office environment) which lets me focus on the parts I love (delving into a problem and solving it, letting myself be tired when I'm tired, not bounded by hours but instead by output).

It's not for everybody, and I love seeing my coworkers in the office, but I have enough of a social life I can make sure I'm not ending up a loner.

So in the end, I recommend identifying exactly what it is that's burning you out. For me it was the aforementioned issues, for others it might be something else. Once you can solve for X, Y can be less burnt out :-).
Wow, I like the selling points:

* Strong modular system and built in testing.

* Global state is not allowed.

* There's no null and everything is automatically initialized to empty values. No more null reference crashes.

* Variables are immutable by default and functions are partially pure: function arguments are always immutable, only method's receiver can be changed.

* Thread safety and guaranteed absence of data races. You no longer have to constantly ask yourself: "Is this thread safe?" Everything is! No perfomance costs either. For example, if you are using a hash map in a concurrent function, a thread safe hash map is used automatically. Otherwise a faster single thread hash map is used.

* Strict automatic code formatting. It goes further than gofmt and even has a set of rules for empty lines to ensure truly one coding style.

Especially eye catching is the 2 mode of every data structure. Switch to thread-safe if there are concurrent access.
> I’ve only tried one homebrew attempt of mead, but it tastes a bit like Western-style konbucha mixed with honey.

That sounds like pretty bad mead; most I've had has been more like brandy than kombucha.
I've noticed in the past if I delete emails without reading (as is often the case when the subject and first line is enough, i.e. transactional emails) Gmail will start classifying them as spam. I'm very careful now to 'mark as read' instead.
I agree that ethics should be taught in school, it's pretty universally applicable in the workforce.

However, I do disagree slightly with your point regarding the many people involved in this. While it's true that it takes several types of skills to build a product like Instacart, most companies don't give their engineers/designers the ability to push back against features that they're not comfortable building. You're paid to execute on a vision that's dictated higher up the food chain. That doesn't mean it's coming from an MBA per se, but just because an engineer wrote the code doesn't mean that they're culpable here, especially given our aversion to pushing back and whistle-blowing in corporate culture.

Speaking out against corrupt/unethical leadership can very easily cost you not just your job, but your career as well. This is one area I would love to see improvement in.
In the UK it tends to work out more or less even price wise. So it's a mostly a convenience vs health thing (ignoring taste preferences).
Going a bit more abstract, it's a good idea to do this with mental models, too--the programming languages of the mind. Many of us are heavily burdened in our problem-solving long before we fire up our text editor, because our mental model for exactly what it is we are doing is extremely sloppy and rich with unnecessary dependencies.

A lot of people continually tinker with mental models that are into the Gigabyte-equivalent range in terms of all they intend and promise to do. One example here on HN might be the "startup" model. What "it" is seems pretty fluid at this point and in various discussions it gets mashed and molded to fit this concern or that one. Better models will come along that will solve problems nobody can yet put their finger on. (I'm speaking in the abstract here, but I've experienced and worked heavily on this kind of model-change and it can be very valuable.)

What typically happens is, someone comes along and isolates an issue which promises high leverage or high controversy or both, brings a set of problems into really sharp relief and remains in the needed context without the burden of supporting and interlinking with every other context out there, and voila--a powerful solution emerges in a very efficient way. Pretty soon everybody who needed a [startup] mindset now needs a [successor-lens] mindset. And not just in name--it's clear that this can really help. It's good stuff.

It's really just more of what we call "technology" and is observable in the same sorts of curves, but again, there's a model that's overburdened--the technology of the mind still overlaps with and rubs against what we consider "true" technology of the "useful arts" sort. As a civilization we suffer, mostly unknowingly, under the burden of yesterday's thinking about how things fit or don't fit into which categories.
Show HN: Environment variable configuration for Node.js made easy
Very cool. I always thought a node/TypeScript implementation would be easier than our Ruby one because of the natural event-orientation of Node.
But a hotel does cost $36,500 a year if you stay in it that much and that's closer to what a substantial percentage of pay day borrowers actually end up doing:

>> Payday loans are often thought of as “two-week” loans, which aligns with the data’s median term >> of 14 days. However, since the terms of these loans are often tied to the borrower’s pay cycle, >> which can vary by employer and source of income, the average loan length is 18.3 days.

>> And while payday loans are marketed as short-term solutions — get cash now, pay it back in two >>
>> weeks — the CFPB found that over the course of 12 months, more than one-third of borrowers will take
>> out between 11 and 19 payday loans. Fourteen percent of borrowers will take out 20 or more payday
>> loans within this same time period.

>> It’s on these borrowers that payday lenders make the most money. According to the CFPB, 76% of
>> lenders’ fees come from borrowers taking out at least 11 loans in a year.

from: https://consumerist.com/2013/04/26/the-average-payday-loan-b...
You are a very slow reader.
I got bored of my feeds. Someone else succulently put, "20 minutes per week on a Sunday is more than enough to keep up with people"
Yes there is a difference and that's why these borrowers can't get a credit card. (If the rules for credit card interest rates were relaxed, they could, not that I'm advocating that...) It is trivial to simply observe that some borrowers pay higher rates than others.
Be better than the competition. If a company looks at age the probably are losing good people anyway. I don't sorry about it.
Good thing I'm not the least bit superstitious!

And yeah, like I said elsewhere I know my way around Python quite well and it's impossible to write a lot of Clojure and not know Java too. If both of those end up dying along with Clojure down the line then I'll be in a bad spot. :)
Have you ever been in a situation where you needed a paycheck to pay rent and you had to either miss rent or do something less than ethical that your boss was telling you to do?
I have the ultimate adblocker for facebook.

I deleted my account about 3 years ago.

Once I stopped cycling with a group it had no remaining utility for me so I ditched it.

Family I communicate with via email and it's great.
How do they prevent the people at the actual races from sending out information and skipping the whole drone complication?
Are they assigning blame to a single individual? Because I'm pretty sure 95% of my Facebook and Instagram friends have "connected their contacts" at some point. I've had this huge banner on my Instagram profile page for over a year now. It takes up over 50% of the screen and shows up every time I press the button to go to my page:

https://i.imgur.com/PLvohTH.jpg

I've never clicked it and never will, but I don't doubt that many of my friends have just to get it to go away. That's why I only give out my Google Voice number to people and only use my real phone number when it's strictly necessary.
I've definitely had my eye on Elixir for a while, just haven't had a need or a real itch to try it yet.

It'd be hard to give up my precious parentheses though.
Google phones (maybe all android?) have a colorblind mode, and it's really bad. I have red-green and I actually find it harder to distinguish colors in the colorblind mode.
I never said it was bad, it was an observation with other brands.

Ps. I don't trust a lot of research online : https://youtu.be/dQw4w9WgXcQ
The stores could send them to a local sanitation depot. I've seen setups in cities where all the restaurants used such a service. When you sat down the restaurant would issue you set of plates and bowls in an autoclave bag. You got to open it yourself so you knew it was fresh. At the end of the meal the dirty dishes were scraped and dumped into a bin for cleaning.
In that framework, is it possible to sell someone something (anything) they ought not purchase? Is there such a thing as a “poor choice”?

The answer is yes! Fentanyl has a market. Student loans for a degree in Modern Studies have a market. Impossible health supplements have a market.

Selling products can certainly take advantage of a person.
I was under the perhaps mistaken impression that Slack was not raising money from going public since they were doing a direct listing
> and waste about three hours a day commuting

Jesus. 3 hours! That sounds awful. I'm unhappy when my commute is more than 20 mins each way.
He's 100% wrong. Use Python 3. Don't spend a second thinking about Python 2.

His complaints are bizarre. He mostly claims that Python 3 sucks because he can't figure out how to convert his old Python 2 code to work on Python 3 easily so therefore a beginner couldn't possibly learn the language from scratch. But all of his examples are edge cases of him intentionally fighting against the changes in Python 3 by doing things that don't make any sense like trying to concatenate unicode strings with raw binary data. It's just the weirdest argument ever.

Python 3 makes almost everything slightly simpler and more logical - especially if you ever have to deal with unicode text. And since emojis are unicode and people love emojis, that means literally everyone.

Overall, he comes off to me like people who spend a lot of time ranting about USB-C ports when in reality USB-C is mostly great and honestly just isn't that big of a deal anyway. It's a strange hill to die on.

The only good historic argument for using Python 2 was that it used to be that some popular libraries weren't updated for Python 3 yet. But that hasn't been true for years. Nowadays you are more likely to run into libraries dropping Python 2 support than you are to find them not supporting Python 3. I can't think of a single remotely popular library that still doesn't support Python 3.
You can. I used to work for an ISP and every WiFi access point I installed had Ethernet+DC over the same cat6 cable. Still got 100 megabit speeds
Be better than the competition. If a company looks at age they probably are losing good people anyway. I don't worry about it.
I do Scala/Spark. I ask if they respect personal time. If they don't they are probably poorly managed.