skysight-inc/HackerNews huggingface dataset:
>Sprinkling printf statements is an efficient debugging technique.

I’m a senior engineer for one of the big tech companies. For some issues, printing (or writing to your logger) is certainly what you’ll try again and again and it can absolutely get you a far way or down to the root cause. It’s not the best strategy (Depending on what you’re dealing with) but it can often work.

Where it’s probably less fruitful most of the time is if you’re debugging some kind of distributed system that has just that one edge case which occurs < 1% of the time in production against real traffic, and it’s entirely your own damn fault for trying to reinvent distributed locking or something akin to your own algorithm that “handles” eventual strong consistency.
It does look cool. Is anyone out there using it in production?
Check out my app Test932, built on HTTPS://bubble.io
Many libraries have a defined late-fee (e.g., $.50/day, regardless of whether the book is an expensive full color monster, or a children's book. Anyone here with children will probably agree that when you check out books for your little children, you are getting not one but 10 (or more) children's books. This discourages families from checking out books for their children, because even a few days late on 10 children's books starts to add up fast!
The gun control advocates currently don't have the numbers to disarm the population. That suggests that if they do get the numbers it will be in an alliance with the people who like centralised government power - ie, the sort of people who look at Hong Kong and think that it is a better state of affairs than open rebellion. Not an invalid view, and not as unpopular as people might expect - there is a big chunk of the population that trusts authority and values stability.

From that perspective, it is likely that any gun control legislation will increase the power difference between individuals and the state.
From the original list:

66. Spreadsheets and powerpoint are for business majors.

Spreadsheets are for business majors. Jupyter Notebooks are for programmers and pretty much anyone in STEM. Forcing a new programmer to use a spreadsheet as if it were a fundamental tool, the Lisp of business, is nonsense.
Fastmail once offered as part of their mail service a list of random numbers you could print out and then use as a second factor, one at a time, when you logged in.

I really miss that feature, and wish more online services supported something like it.
The sentence you highlighted struck me as simultaneously remarkably vacuous as well as easily falsified.
Wow, that sounds horrible. You're speaking very strongly about this so you must have a long list of links to explain:

"...openly supports the violent extremists that use these hats and similar symbols..."

I'd like to see all the many examples where people wearing maga hats and saying maga were "violent extremists".

Really interested to learn about all of this extremist violence I've apparently been missing by these maga people, looking forward to your response.
> Instead, I'd rather insert a null check. For the dev side, you can have your check macros insert an automatic breakpoint, log (for the mod makers), report the error via sentry.io (for catching released bugs in your unmodded game), or even explicitly crash for your internal builds (so you and QA can find bugs). Just as easy to debug as a crash (if not easier thanks to smart error messages), much less end user angst.

I really wish it were feasible to write more code as out-of-process components. The Right Way to handle unreliable mods is to just run them in their own process where they can't hurt anything. I really like that COM tried to make this approach easy. I feel like we've regressed since COM's heyday.
All your base are belong to us!

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

Growing up in the 80s I remember thinking that this was just a quirky aspect of vidja games. I mean I understood it and it was weird. but it didn't register as bad English until I was older.

a winner is you!
Newton's second release of hardware and software was actually pretty solid. It needed some user training (there were many features that simply weren't discoverable, but were slick one you knew), and it was expensive.

It certainly wasn't a toy with a couple half-baked demos and no actual apps. There was a healthy third party hardware and software developer ecosystem. A lot of people (including me!) wanted to see it work, and it was frustrating to have Jobs kill it right when it was getting traction.
Nothing that’s actually quoted from the real source in that article is even 1% as scary or egregious as that clickbait garbage article makes it sound. I’m not a fan of corporate America or anything like that, but this garbage writing on HN and front page is sad.
No one should be able to receive a text message meant for my number, regardless of the specific purpose of the message. That should be a basic security feature of the service, not something that comes for an extra fee.
There are people still complaining about top posting? Wow. All these CS grads who invented putting the high-signal new data first clearly need to get off your lawn.

This article makes me feel very old.
Police shoot two teen pro-democracy protesters in Hong Kong
Git like repo? Could you please elaborate?
If it concerns you that much, maybe you should ask. If you don’t want to visit someone who has one of these devices, that’s entirely up to you. I personally have Google Home in my home. Haven’t had any problems with anything but the fear mongering.
Well, it sort of is my nightmare. I disagree with hyperbole in general, but politicians being able to easily manipulate truth across vast swathes of society is my idea of a nightmare (a pretty scary one at that).
the two japanese characters in overwatch were more "blizzard" than japanese. one of them, before doing some special skill, would shout "taste my blade" in japanese. unsurprisingly, this phrase also appeared in the warcraft series as part of the blademasters voice lines. the other yells something like "dragon devour my enemies".

it's all a bit odd of course, because in typical japanese fighting games (or even chinese wuxia films) the characters normally yell the name of the skill before doing their special skill, like "wave fist" or "dragon subduing 18 palms", rather than yelling something the hero intends to achieve. they'll never say something like "die!" because that's just not heroic.

the game is nice, but those two characters just feel very not-japanese, even with all japanese work for them.
>I was actually arguing the reverse.

Fair enough, but that is also confounding, maybe just as much - technology didn't cause more freedoms or liberties. Individual rights and equality is also the result of the striving towards the ideal of freedom and liberty.

>You simply cannot compare our current problem of echo chambers and fake news to the 1930s problem of nationalist propaganda or pre-renaissance problem of the church controlling which information is heresy.

That's a very premature conclusion. We're in the middle of a shift in the information landscape and we can't really predict which ending this will lead us to. We may very well be on the path to another dark era in the history of humanity rivalling fascism or the inquisition.

That's because, in itself, information and the flow of information (as dictated by
contemporary technology) is just a force multiplier. It allows us to organise more effectively removing barriers to action. What we do with it is another matter.

Just because we have more of it or do it better doesn't mean it is a unequivocally positive force. Looking at the current trajectory on the use of data, there is the potential for it be to even more destructive force than your examples.
They have had a consumer product out for over a year. You can find it clearly available for purchase on their website: https://shop.magicleap.com/
Aah no!
They support white, conservative men having some guns, sometimes. If you're the wrong color, have the wrong politics, are a women (sometimes), like the wrong kind of guns, or are just unlucky, they absolutely do not support you.
It's even more recent than the norman french from a 1000 years ago. The standard english accent ( King's English ) was intentionally "effeminized" to mimic the french language in the 1800s ( when french was viewed as lingua franca and "cultured"). It's one of the reasons why Standard American accent and Standard British accent diverged. The standard american accent was the way the brits used to speak.
I subscribed because I thought they were unbiased, I stopped when I realized they're still biased and I wasn't reading them as much as I thought I would.

I now subscribe to a much more biased news source that's mostly opposite from the other biased news I read periodically. I know this source is biased, so I can at least account for that, and I enjoy the articles a bit more since they're not afraid of showing their true colors. I'm considering subscribing to a local news organisation that also challenges the status quo (it's also quite biased, but as least it supports the minority view).
>Criminals know who they are and where they live, and have for years

I'd need to see some stats on how often retited police officers are retaliated against by criminals before I'll buy that this is anywhere near likely enough to worry about.
Interesting. I noted below that the libraries could work with the post office to get books back efficiently, but based on this they should probably start with school libraries instead.
You also have to keep in mind that cops also by statute have a much higher bar for conviction, which not only means they are more likely to not to be found guilty, but not even prosecuted for acts that would be an open and shut case for anyone else. Also, let’s not forget sovereign immunity also applies to cops.

And this on top of the the fact that cops underreport cop crimes, and prosecutors use their discretion to not prosecute cops by a huge margin.
Regardless of how you feel about these devices, that line from the article is so preposterous. How many people in the world lack access to toilets or drink able water? How many folks survive on next to nothing? The author seems to think the US or maybe the more developed world is 99.9999999% of the population. If anything, it just highlights the fear mongering exaggeration. Sad.
I was tempted to go with a single name when I was forced to legally change my full name to meet ID requirements for a driver's license.

My birth certificate name is patterned like Andrew Bruce-Carlos Denis-Edward Fatherson. After my parents split, I had many variations. E.g. school knowing me as Andrew Charles Motherson, my bank as Andrew Bruce Motherson, etc.

Every official document was something different, so I had an official change to get the most common variants in a close-enough form that still fits on most forms, i.e. Andrew Bruce Carlos Motherson.

It still feels like a missed opportunity to go as simple as possible, and shed some family baggage.
> Trend began before the internet

Exactly. It’s almost like the internet isn’t the most important thing happening right now. Combining the world’s networks into one is really powerful, but the world is a big place. The internet isn’t going to cause a utopia or a dystopia.
Hong Kong police shoot man in Monday morning rush hour protests
You're confusing thug with psycho. Someone needs to enforce the law. Just travel to a place where police don't enforce laws and you'll see how dangerous it is to even go to the nearest store, and live in constant fear.
The New Performance Monitor for Windows
Going the other way. When I lived in Japan I would collect Japanese products with unfortunate English names or ad copy. And there were so many. "Angel Relief" cookies ("Relieve the Relief!"). Dunk Beer. Grape and Lemon "Skat" drink. Creep. But easily my favorite were boxes of Kleenex which showed up regularly at my local 7-11. They were festooned with cute pictures of puppies or kittens. But on the outside they said simply "Tissues of Puppy" or "Tissues of Kitten".

Japanese friends would ask why this was so horrifying sounding. I gave up explaining what "tissues" meant beyond Kleenex. So I eventually asked them to consider how you might get a "tissue of puppy", perhaps by freezing the puppy and then slicing very thinly. They got the idea.
When your name (Amr) causes an issue with online flight booking systems
How to Break the Impostor Syndrome – A Guide for Freelance Programmers
I would highly value a phone that had a physical kill switch for mic, camera, and sensors. The best would be a multi level level kill switch: one for that, another step to kill mobile, another to kill all networking. Not perfect, but better than nothing.
"Translation server error" is the best translation I have seen.
> I don't think it's untill you get to the NN based models that they start treating time as a first-class component in the model.

They're bad at prediction for the past several m1-m4 time series tournament for univariate. The best one for m4 is a combination of NN and traditional statistical regression (time series) but it is often deem too tailor to the data.

And I don't think differencing out the trend, season, etc... means we're treating the time component as second class. It's just that stationary data is what we know the most currently. There is GARCH/ARCH method too. The nonstationary methods aren't used as often and from the tournaments the current set of time series are the best so far.

So I think this comment is misleading.

There is also longitudinal analysis, survival analysis, etc... and they all keep time in mind.
I'm not sure what the original author meant, but main could have no arguments. Or, in freestanding context, may not even have a main.
Maybe it means a non-reserved IP? 127.0.0.1, is often used as localhost for example, but all of 127.0.0.0–127.255.255.255 is reserved. There are several reserved blocks like this. If you include reserved addresses, every 32 bit pattern is a valid ipv4 address at least in theory. I hear network equipment in the real world is entirely another beast. I remember some ISPs did not work cloudflare's 1.1.1.1 DNS presumably because they were using the address for something else.
Ask HN: How come some group of hacker Uber drivers hasn’t disintermediated Uber?
The Uber (etc) drivers could be paying themselves instead of the owners investors if someone were just to write an open source gig manager and apply everywhere.
I work in health tech (full stack insurance), and sit next to security and IT, so this is a frequent topic of conversation for us. :)

For some context, this is one of our favorite websites/datasets: https://ocrportal.hhs.gov/ocr/breach/breach_report.jsf.

It is a structured archive of all reported health data breaches, major or minor, over the last 15 years or so, as reported by the breached entities. They’re required to report breaches as part of HIPPA compliance, or something related to it.

It’s a fascinating quilt of stories, with patches for phishing, accidental email attachments forwarded, and rogue admins. Fun reading. You can also load it into sqlite and find some interesting results (leakiest companies, states with most breaches reported, etc).

Hospitals might be a weak spot, but at least their weaknesses are ruthlessly well documented! As opposed to, say, financial infrastructure which IME is a similar horror show of monkey patched sftp servers.

Solving this collective technical debt is a massive coordination problem. It’ll be interesting to see if we ever get there. My suspicion is that the changes will be driven by monopolistic insurers, if ever, since that’s where all the money comes from (if you go to doctor at hospital X, your coinsurance will be Y instead of Z, because doing business with X is more/less risky due to their documented data practices). But it’s just a suspicion, this kind of thing might not be solved in our lifetimes.
> Yes, rent and housing costs are way up. But so is infrastructure, tourism, amenities, etc but it’s easier to flip off the dude in CA plates instead(which happened to me shortly after moving here)

The way you describe this definitely makes me sympathize with the locals. What good are "amenities" if you're priced out?
Translation is always difficult, but especially so when the translator does not know the overall context and intended use of the text. If one is translating a novel, most of the context necessary to understand, say, a line of dialogue is right on the page. According to a talk I heard about twenty years ago by a game translator working between Japanese and English, however, at that time all translators usually had to work with were isolated bits of text in Excel files. No wonder so many mistakes have crept into localized video games.

In her talk, she stressed the importance of actually playing through the game while translating, but said that the finished game often wasn't available and that deadlines or low translation rates could make that unfeasible.

I was a freelance translator myself at the time, mostly doing business-related texts, and her talk did not make me want to go into video game translation.
All of them are very good people.

Just how "good" are they if the "blue wall of silence" is rule #1 in terms of ignoring what you call "bad apples" and what civilians call criminal misconduct?

https://en.wikipedia.org/wiki/Blue_wall_of_silence
Happens all the time

https://www.washingtonpost.com/graphics/2017/investigations/...

https://www.news5cleveland.com/despite-crimes-misconduct-fir...

https://www.cbsnews.com/news/officer-fired-twice-from-one-po...
Did you watch the Channel 4 report[0]? The CEO of CA clandestinely advertised far more than just ads for the reporter posing as a potential client. They are in the business of winning elections, through whatever means necessary. He openly talked about things like targeting and entrapping political opponents with blackmail via "honeypots". His deputies made some really interesting statements during that report as well. I highly recommend watching the report, it's a fascinating watch.

Based on what he was caught saying on camera, in addition to his deputies, and the reporting around their political campaigns in Africa using propaganda that claimed AIDS would come back if so-and-so were elected, it's not a stretch to imagine those people doing everything the can, legally and illegally, to sway an election.

0: https://www.youtube.com/watch?v=mpbeOCKZFfQ
sad to see this grey. there's a clear angle on all sorts of issues, to include class and immigration status:

> On one side are well-paid union members, many of them third- and fourth-generation dockworkers. On the other is a nonunion, largely immigrant and Spanish-speaking workforce of independent contractors, who lack the hourly pay, overtime guarantees, pensions, healthcare insurance and job security that ILWU workers enjoy.

geez, it's almost as if there's a racial and cultural divide at play here...

The Bearded One would be sad, i think. if what i keep reading about trucking being the most popular job in many states per capita, then these workers don't understand the power they hold via striking. unfortunately they're probably not willing to do so, being "content" with slightly less horrible conditions than whatever/wherever they're coming from.

seriously, labor should be on the same side. those who helped capital get to the point that will allow them to automate will not be thanked or "grandfathered in". it's disappointing that truckers seem unwilling or unable to stand up for their enormous power. if 10% of trucks stopped running in the US, and 1% were found to have parked on various onramps/highways in the US, i have a feeling you'd have a major win for truck drivers and labor generally.
101. You should always use React.
working with contraints (don't use loops, or don't use the string function) is a learning tool. don't dismiss it just because it prevents your clever trick from working.
101. Always use React.
Patents have value even if you never get a product out the door.
It depends. An edit button with a WYSIWYG flow is much more conducive to casual fixes/updates than a fork -> clone -> edit -> build -> code review -> land workflow. But in-repo docs are easier to keep in sync with the code itself.

We like Git (alongside the code) for docs that are tightly coupled to the API, and Confluence / Google Docs for more general or high-level descriptions, design discussions, operational procedures, etc.
It's an absolute shame it isn't a requirement to get a CS degree.

It was, at least in my Eng school. And the course was called... "Software Engineering" (I & II).
I use markdown syntax for plain text even if I'm not displaying it as formatted HTML. Having the option to format headers and text automatically is nice to have especially if you're sharing it with others.

It's simple enough to search through if everything is neat.
if i was the TA i would have said: "congratulations, for you have not learned anything new"

personally, when something is to basic to hold my interest, i try to find ways to make it more challenging.
Nuzzerino, forget the altcoin. The software is free and doesn't require any altcoins. Nor is the altcoin for investment purposes – we do NOT want you to buy it hoping it will go up in price, and in fact will be operating a gateway buying and selling within a certain range pegged to ETH or USD (we haven't made up our minds yet) to maintain price stability ensure no rational actor will hold it for investment purposes. But merely something that can help monetize digital content and open source software, facilitating web based cross-domain micropayments (think Brave Browser but decentralized, and with multiple gateways to ETH etc).

Our ETH token was designed to fulfill every requirement of SEC's recent no-action letter to TurnKey Jet, Inc. in order to not be considered a security (https://www.sec.gov/divisions/corpfin/cf-noaction/2019/turnk...)

In the last few years I have been downvoted without even mentioning the Qbix token - something we only documented last month. Just by giving away open source software. The post above already has -2.
Browsers are essentially operating systems, and can allow replacing desktop apps with web apps. I mean, I don't use a stylus, but if I did a lot of graphics stuff and liked using a stylus, but I couldn't use a stylus within one brand of browser, suddenly the browser is far less useful to me.

Same goes for other things. WebGl is very rarely useful for me. But if I liked playing (or developing) games, it would be awesome if the browser allowed that sort of thing rather than forcing developers to build for a specific native platform. So an immense amount of work has gone into webGl, even though it appeals to a fairly small subset of users right now.

I'd guess you could imagine desktop apps that use a midi keyboard. Like, ones to learn piano, or otherwise do interesting musical stuff. I mean, they have WebAudio, but its usefulness is limited if they can't do anything with a keyboard.

In my case, I develop a web app that does music stuff. (and it actually has to be a web app because of the way it uses YouTube) It's disappointing that I have to say "Chrome/Blink only."

https://www.youtube.com/watch?v=rytYcOUZH30
You get this with Snaps, Flatpak and AppImages