skysight-inc/HackerNews huggingface dataset:
This is precisely my takeaway as well. I wonder if there's more to the story than described in the article – maybe he's just really hard to work with? Maybe his prototypes are two expensive to put into any large scale production, and he's not willing to compromise? I feel like this story barely scratches the surface.
It's pretty painful for me, too. I want to say the differing line thickness in a character is th reason, often becoming to thin. Especially for "A" and "e".
I've worked at various programming jobs for startups and large companies for 10 years in New York, and I've never had to work more than 40 hours per week.
Thought it's a generic todo thing but it seems targeted at shopping use case. Post title should be more descriptive.
That article is debunking that he was in the SS. Noone ever claimed he was.
Have used C# before for almost 5 years. Develeoped for backend and frontend both! Love the language, love TPL. Kotlin in my opinion brings a better coroutine implementation. I love they way I can intercept contexts and arrange them, letting me have go-ish selects, and the structured concurrency. I think Kotlin might take it a level higer.
It's a very noticeable pattern and detrimental to the beauty of the maze but the solver works well.
Because https://medium.com/the-node-js-collection/keeping-the-node-j...

Note that Node is actually in a much better position than Javascript as a whole, because Node apps can be shipped with a specific version of Node. This means that the Node team actually has more power than web browsers to deprecate old features and remove parts of the library, as long as they do so carefully. It is much harder to make breaking changes in a browser than it is to make them in Node.

One middle ground I've seen people suggest is to have officially "blessed" external libraries that still need to be imported, but that are cached locally or have special privileges. For example, JQuery was at one point so common that the Firefox dev tools actually ship with a subset of the JQuery API enabled -- just so devs that are used to working with it can use it in the debugger on any site.

I look at JQuery as a massive success story for how 3rd-party extensions should work. It was extremely ubiquitous, it did influence the core language, but now we've grown and because it was kept separate, we're still free to abandon it and move on.

On the Node side maybe that means that Node ships with dependencies that still need to be added to your package.json, but that are always bundled in your installation so that you have them locally and don't need to hit a network request when you type `npm install X`.

Also on the Node side we have modules that are built by the core team, but just not distributed in the core library. This helps out a bit with security, because you can still have a large organization like Google maintaining a feature and validating it, they just ship it separately from their browser.
Says the account posting an off topic comment...
...That is, has anyone here on HN ever bought an item on eBay, and sold the same item on eBay for a profit?

If so, that leads to such sub-questions as:

How did you know/learn that you could make a profit on that item?

What kind of profit did you make?

How long did you have to wait to sell the item, that is, what was the turn-around time, etc.

(Inquiring minds want to know! :-))
> I want actual proper integers. Not doubles, just integers.

Why exactly do you want that? Is it arbitrary precision you want? Is the 56 bits or whatever not enough for your use-case? Or do you find the range checks are too expensive in practice?
I work at a SF tech company in an open office, and many eng coworkers are Chinese H1Bs. Like half the team. Often they speak Chinese with each other, and I have no idea what they're saying.

Personally I find it rude because it subverts the point of being a team in an open office. I think they should speak English at work, just as if I worked in China at a Chinese company I would be expected to speak Chinese. (Unless you're a salesperson on the phone with a foreign company or something)

It is also not "inclusive" for all the diversity and inclusion we hear about, but I would never say this to my manager because I'd probably be called a racist and fired. Plus he's also on a H1B (from India so he speaks English all the time at least).

The Duke email did say that when they are in a professional setting, they should speak English. Med school is somewhat a professional setting, so I see where she's coming from. I don't think she should be fired for that. If they're just in their dorm rooms then I think it's overreaching to ask them to speak English but if they're at a hospital working, it seems useful to ask them to speak English while working.
Really surprised that the article doesn't mention PowerSkips (aka powerbocks or jumping stilts), the remarkably similar product which were invented around 1999 and featured in the 2008 Olympic closing ceremony.

They're pretty common, with several manufacturers making them to this day under different brands. Several of my friends own a pair.

https://en.wikipedia.org/wiki/Jumping_stilts

To be fair, jumping stilts don't use quite the same mechanism as Bionic Boots, but the results are almost identical.

There was clearly a market for this invention - and somebody else actually filled that market very successfully.
Big 4 in this context means Amazon, Google, Microsoft, and Facebook. Google and MS are known to have good WLB, Amazon and Facebook do not.
More commonly, walking down stairs is a known knee-killer. This kind of product could be extremely viable for people who do a lot of walking at work – e.g. nurses, anyone in the hospitality industry, beat cops, etc.
> The market is so huge that it's worth it even if it takes decades of R&D costing billions a year.

This is a common trap novice founders fall into. They see that a market is huge, and simply say "well if we can just get a piece of the pie we'll be great!" It's like saying you only need to take 1% of search from Google. Yes, that is a huge opportunity, but how are you going to do it besides hopes and dreams?

If ~$10 billion invested turned into an actual self-driving technology that could be generalized, it would almost certainly (if competition also develops it you essentially have a commodity and are now in the airline industry where there's a huge moat but the margins are still awful) be worth it. But people are becoming more cognizant that maybe that technology just isn't ready yet and nobody knows when the next breakthrough will occur. Is it possible one of the competing companies already has it and just hasn't shared it? Technically...but I am very confident that right now the state of the art just isn't good enough and the people in charge are naively throwing money at the problem hoping it bears fruit.

I realize the person I am responding to largely shares my opinions on self-driving cars not being ready for prime time yet (I'm familiar with his website), I just wanted to point out a common fallacy that leads people to work on fruitless endeavors. In my opinion an AI winter is coming before self-driving cars are "real" - by which I mean a profitable solution that can be scaled.
Brexit “Singapore on the Thames” Fantasies
You should be learning how to answer these questions yourself. Part of growing up as a programmer is being able to answer. What language should I learn, what framework/library should I learn, what project should I work on. Everyone is different, with different background and goals. You must learn to figure out where you are and where you're going and then answer the question for yourself. There has never been a better time to learn Scala for at least one programmer out there and at the same time, it could be the worst mistake another could make right now.
This year's 7DRL starts in just over a month, on March 2! :) https://itch.io/jam/7drl-challenge-2019

I can highly recommend the challenge. It's a great community, it's got an organized judging phase, and roguelikes are one of the easiest genres to get into, especially for programmers. You can do all systems and no graphics if you want.

Also, I think you meant to link to this episode (the one you linked came out the year before itch launched) http://www.roguelikeradio.com/2018/05/episode-145-7drls-2018...

I was on this one and we talked about itch quite a bit. My submission last year also ranked #1 and I bet HN might find it interesting as it's got a hacking theme: https://itch.io/jam/7drl-challenge-2018/rate/232187
Ha! ;-) I don't wash milk; if it smells bad, the whole bottle goes down the drain. But everything that's solid is washable, esp. cheese, meat, etc.

And indeed, keeping rice for too long is really not recommended.
I mean, as long as everyone agrees to use purely functional constructs and heavy use of monadic intetfaces, I haven’t found it a problem. Without mutability and with referential transparency for all structures, I think it’s fine.

The problem is when you have a Java guy on the team who writes crap OO code. That’s when it becomes impossible to reason about. We had a rule on my last scala dev team that if you wanted to use a var or a structure from collection.mutable, you had to give a presentation on why it was necessary.
> Developers need to develop several versions of their app

Because there are, in almost all cases, different market segments. iOS users generally want a different app from Android users. For most companies, they’ll constitute different demographics, support profiles and needs. Smearing then together for cost cutting reduces product-market fit. (This reduction may be worth the cost reductions at low scales or low population differentiations.)

The freedom point is valid. But that makes PWAs a good back-up, not primary choice, for apps.
Self driving tanks don't seem particularly useful, but how about autonomous drones that swoop in to take out specific targets. Perhaps these targets are identified by running face recognition on a network of cameras that span a city. What if the targets are chosen by an algorithm that monitors social media and uses unknown criteria to determine each person's probability of being an enemy of the state?
If you only care about marketability on the backend side, then scala is certainly a fair choice. The difficulty with scala is the complexity of the language itself.

If you want to improve your own thought process rather than your skill in just one programming language, then clojure(script) would be a better choice. Once you've been through the learning and practice curve, the benefits of having decomplected your mind will spill to other languages.
You seem to be misinformed, The H1B is not for everyone, if your spouse doesn't fit the description it's game over. I know many people here on a H1B who have moved with their spouse who hasn't been able to work for years. It really takes a toll on you.
It's pretty flexible, but I'll usually cut up a dozen jalapeños, half a head of garlic, some coriander and cumin, pack it down in a jar, and cover it with water and somewhere around 3% salt by weight. If you don't have a scale, just mix up some water that's saltier than you would really want to drink, but not so salty that you'd be unable to drink a few cups of it.

Ideally nobody is sticking up out of the water, as that's where mold will form. You can use a plate or some kind of weight, or stir it all once a day, or just let it sit and throw out anything that starts getting moldy.

Let this sit on the counter for a week or two until the brine and the peppers get sour from lactobacillic fermentation. It's up to you. When you like the taste, blend it all smooth and put it in a jar in the fridge. You'll get the same sour spiciness you're used to in hot sauce, but much more umami and depth in the flavors. Vinegar-based hot sauce is quite one-noted in comparison.

Note: I really recommend Katz's "Art of Fermentation" as a source of inspiration. I used to get annoyed by the fact that he doesn't actually give recipes, but have come to realize that you don't really need them. There are really only a few core processes with infinite variations, and precise measurements would most likely just lead you astray because you'll invariably need to respond to different produce and different temperatures.

Troubleshooting: Sometimes the brine starts to get cloudy, or a thin layer of surface yeasts forms. It's harmless but can lend a funk to the flavor. If you don't like this, change the conditions to select for the desired bacteria: make the brine saltier and/or keep it somewhere cooler. You can even keep it in the fridge, but then fermentation will be much slower. Also, sometimes the garlic turns blue. Also harmless.

Bonus: Sauerkraut couldn't be easier: Shred a bunch of cabbage (it's such a pleasure to use a mandoline for this) and add 1.5% salt by weight. Squeeze and knead the cabbage until it feels like wet laundry. Pack it into a jar; there should be enough liquid to submerge the cabbage. Again, find a way to keep it covered and wait 7-10 days. If you keep the brine from an old batch, you can dramatically speed up the next batch by mixing some in.
> Somehow I feel like a TTY generally doesn't need or deserve to know when keys are pressed and released.

Why? What if I'm playing a game on that TTY?
It is one thing to find such behavior rude. It is another to search through the photo directory for students that spoke Chinese in order to not hire them for internships/ research positions.

Also, they were speaking Chinese in a student lounge, it wasn't a "hospital".
I had that thought, but I don’t think it’s that unreasonable to hold JavaScript as a lost cause. Enough large projects are just using JavaScript as a sort of bytecode for the web anyway.

I also find personally that recognising something as bad is the first step to making something better.
Indeed, but a necessary evil as a moderator of this site. We try to do it as infrequently as possible.
there was nothing easy about var hoisting.
modern javascript with a good linter is a lot cleaner and easier to read.
Everybody's free to submit a talk to mostly any event. If women feel like doing that less so than men, I don't see why thats a problem.
It really depends on how you define work. Answering email and phone calls after hours would constitute that for me, as would being on call. But not for many, and so those things likely go unreported.
I would include Magda Jadach, Raspberry Pi Foundation software developer, speaker at various conferences regarding teaching kids how to code: https://www.linkedin.com/in/magdalenajadach/
I mean, that there's no key up event in tty context goes back to the beginning of time, and is not Linux's fault, and not even Unix's (nor VMS's) fault, or anyone's fault, because this all works the way it does because of how terminals worked, and they worked the way they did because it was simple.

If, in the late 70s, key up events in tty context had been important, then terminal vendors would have developed an escape sequence system for expressing those. But it wasn't, so they didn't.

So, yes, it's absolutely impossible to get key up events in tty context, and at this point it will almost certainly stay that way forever, as it's too late to retrofit terminal emulators, drivers, and applications to understand whatever protocol for communicating key up events. (The right way to do this would be to develop an escape sequence protocol that the tty/pty drivers could decode and turn events into out-of-band events to be delivered via ioctl()s, that way applications that don't care about key up events don't see them and don't need to be modified. But who is going to do all that work?)
New Zealand has this for grid attached water heaters. They can be placed on a lower tariff, but will be turned off during times of peak load. It is implemented by putting the stored heat device (water heater, air heater) onto a separate meter with something called "ripple control" [2].

This gives the power company the ability to avoid spinning up peaking plants - which are very expensive compared to base load. Nest also offers this as a service to power companies - they allow the power company to shift cooling load the same way.

The power company then passes this cost savings on to the customer. It ends up being about 1c/kwh [1].

Personally, I had to turn it off, our ripple control kept going bad. Nothing worse than a cold shower in the morning. Instead, I went with a timer and switched to a night rate. The heater would come on after hours and warm up the next day's water.

[1] https://www.genesisenergy.co.nz/plans-and-pricing

Anytime vs Controlled.

[2] https://en.wikipedia.org/wiki/Load_management#Ripple_control
I agree that this is extremely odd. Dr. Hengjun is probably one of the more educated people in the world about China's authoritarian nature. I suspect that there's something else going on - perhaps they have some hidden leverage on him?
Right. If you want to control something in real time, use a real time protocol.
Yes, those are called victory blinks!
But what does timestamping have to do with sending each thing in its own packet? Did you mean something else by 'timed'?
The Lester Dent Pulp Paper Master Fiction Plot (2004)
Speak about what?
Coal is/was only profitable because externalities are not priced in.

Everyone knows the externalities of nuclear power and it gets priced in to any discussion of new plants in 2019. The fear (about meltdowns) and concern (about waste) typically outsizes the actual risk substantially.

But most people don't seem to realize that coal far more produces aerosolized radioactive waste, other carcinogens, and as a result, cancer, per watt, than nuclear. Even if you assume every single nuclear plant melts down. Burnt coal is just absymal for public health, but it doesn't get the scary branding that nuclear power does.
you have no clue, signal it's normal SMS app for nonSignal contacts

ios it's irrelevant niche platform outside US, whole world use Android
An argument like this generalizes into: everybody's free to do anything and there are no problems. At least you included “I don't see”.
Ask HN: Where do you sell your design side projects?
Hi,

I started Wired Dots (wireddots.com) as a side project last year and created 30+ premium Bootstrap 4 landing page templates. After few months, unfortunately, I lost the focus and started working on other projects. Now I want someone to take over the project to grow it further. But I am struggling to find a place where I list this site for sale. I know about Flippa but it has become worst since last few years as their focus is shifted on charging huge upfront payment with little to none promotion.

I'd appreciate if you suggest me some design related sites / marketplaces where I list Wired Dots for sale.

Thank You.
> Get the first 10 to make viral videos for you.

This is difficult on multiple levels. Most people won't make videos no matter what (and they paid for the product so they would feel even less pressure), and those homespun videos are almost certainly not going viral.
> And never abstract in advance

I would contest that, when the abstraction you're going for is actually a library. If I want to send SMS then pulling in the Twilio SDK is a useful and effective abstraction compared to rolling my own API client.

Similarly, MVC is a useful abstraction too. I'd prefer to kick start a Rails project in a few minutes as opposed to piecing together a full web stack, and I'd take a desktop framework over building all of that from scratch.
I don't see an issue with having a data collection and data engineering function that operates separately from those scientists who are creating hypotheses and then they can search data catalogs and libraries to serve their hypotheses no? It seems the author has mistaken the ability to collect and process data with running an experiment. Further, does cross validation not apply in the sciences? Does sample size not apply? In the apocryphal example given in the story, wouldn't a study get tossed for if it used a sample size of 8 data points to begin with? And wouldn't it be really really stupid for scientists attempting to reproduce the study to go and reuse the same 8 samples?
Damn cleaners with security clearance.
For an article on proper use of statistics in science, this is rather short on data for an empirical test. For example, did studies from the pre-Big Data era (whenever you think that was) actually have a higher rate of reproducibility? If this has been demonstrated, I am not aware of it, and certainly we are not given a reference to such data in this article.
do that indoors and just put a rubber glove on top of a jar [0] if you are concerned about contamination or smells

[0] https://www.google.com/search?q=fermentation+rubber+glove&so...
Some kinds of API endpoints and webhooks are exactly what I love CGI for—when what I want to do is exactly “bind an HTTP endpoint to a shell command.”
Winning and achieving are separate things, unless you make it your specific goal to win.
Mainly because there exists no protocol by which the terminal (really, terminal emulator) can indicate these events, and the tty/pty drivers don't know how to decode that non-existent protocol to spare existing apps having to be modified to understand it.

This all goes back to the 70s, when people first hooked up typewriters to computers as terminals: everything was far too simple to make it possible to add such a protocol, and nobody cared about key up events, and they weren't going to care for a long time because the hardware and software all had to be rather simple (exceedingly so by our standards today).
Very accessibly-written and entertaining
Seemed like it fairly good from what I heard. It didn't crash which is the bar they are going for. Driving past a place not only is ok I'd be more than comfortable having the car do so. The issue opponents are going to have in the future is when waymo actually has a chance to go to the general public in one of these cities and doesn't crash. The number of riders will easily outstrip the people screaming. Just like the scooters they will leave for a while but the damage will have been done. There are no fans currently that depend on this but thats easily going to not be true.
The OS is abstracting away details about where the characters come from, which is a keyboard in this case. The characters could also come from other sources, such as a file, or a speech-to-text program getting input from a microphone. Key-up events make no sense for these sources. Essentially, the author wants to go down a layer of abstraction to use his keyboard not as a character input device but as a grid of buttons. By default, this will require special permissions on most linux distros (and rightly so, as it allows for keylogging), but this is a matter of changing one's udev configuration; root is not inherently required.

In any case, the stated goal "to remotely navigate a robot over an SSH connection using the 'w', 'a', 's', 'd' keys" is misguided to begin with; what happens when your connection drops and the robot can't be stopped?

Addendum: has the author thought about the case where the user is using a keyboard layout where the WASD keys are not together, or where the user is using a non-latin-alphabet keyboard? As someone who uses a dvorak-based layout, I am annoyed at how often developers screw the key/character distinction up and assume everyone uses qwerty.
Thanks, but I already enjoy my 40-hour, 10-day week.
> Anyone can learn CSS from zero to expert in a week.

Maybe the (highest level of) basics, but as someone who's been in the industry 21 years and manages all hiring for front-end, the one area of front-end that everyone seems to think is easy but also one of the rarest skills to find on the market is someone who actually understands the finer points of CSS, like why one would use "font-display: swap" in the context of performance, the performance implications of complex CSS on mobile devices, CSS methodology rationale, accessibility implications of using X vs Y, best way of delivering CSS to accelerate the "Start Render" metric, etc.