skysight-inc/HackerNews huggingface dataset:
The only thing missing for me in Firefox on Android is text reflow. I just can't use a mobile browser without this feature.

There are some addons which try to emulate text reflow on tap, but it's pain to use at best.
“The best minds of my generation are thinking about how to make people click ads.”

-- Jeffrey Hammerbacher

I'm guilty as charged (at least it's about entertaining & useful ads) - but in my post-exit career I'd also be humbled to work on something with this magnitude and relevancy.

In the middle of the tech bubble it's easy to forget how the rest of the world will deal with this bubble with increasing automation, inequality and climate change. It's great to see some people actually tackling the really important topics even if they could get a 6-7 digit paycheck at top Tech companies.
An AI that could replace a software developer can likely replace all forms of white collar work. Not a whole lot left after that. I can't imagine that any new job category that such an AI would enable would need humans either.
Biggest difference is that Browserling is powered by alien technology, unlike Browserstack that is powered by puny human technology.
> Some of the cost could be mitigated with "toll-free" options, such as using a vehicle tracker like EZ-pass and not charging you if you travel less than N miles (to encourage people to live near work), or giving partial refunds if you use your car very little during a month.

Don't know if LA is anything like SF, but here, the poorer you are, the longer your commute is, generally. So this scheme would simply penalize people who already can't afford to live close to work.
Aren't they verified server-side somehow? … I assumed the 10 seats would have been gone almost immediately.
Yeah, dropping anonymous uploads made my life so much better. I'm a solo founder of a side project, it's just not worth it.
It sounds like you believe that what you do on the internet is private and that everyone will just agree to leave it at that. Global diplomacy is a competition, and if you aren't doing everything you can, and keeping pace with technology, you will get left behind. It might not be pleasant, but I would rather, have my country gathering intelligence about me in this manner than other countries. Plus warfare has always been one of the biggest drivers of innovation, this war will and is stimulating innovation in cyber security.
I agree tolls aren't the end all solution. However, if that revenue was explicitly applied to making public transit better/more accessible/more affordable, I'd be all for it. Alas, we don't live in such a world and I'm sure the tolls would just be spent elsewhere.
Windows has very sophisticated firewalling and network access can be filtered on a per-process, per-network basis.

Restrictive companies will only allow pre-approved applications, for specific ports, like I.E. doing HTTP/S over ports 80 and 443, and only on approved/trusted networks.
He started his comment with words "plot twist". I'm pretty sure he wasn't really considering that as a legit option.
If you remove things from the instruction set, any code that uses them will either crash or run very slowly in emulation.

Most uses of special instructions will check feature bits or CPU version, but not all will do so correctly.

(I'd say that the additional area cost of something like this is small, and the big cost of special instructions is reserving opcodes and feature bits)
God forbid other talented professionals charge rates compared to the value they bring to the table. Just imagine!

Better marketing beats better products most of the time so it's hardly wasted money and in fact may be a better way to spend some of your start-ups $ than to spend it just on development.
This article does a terrible job at explaining how jet engines work. Spending 10 minutes on wikipedia will give you a better idea. Do look for high vs low bypass. Jet engine s are fascinating, the theory behind them is fairly simple, but a huge challenge to make it happen in the physical world, high temperatures as mentioned but also extremely high rotational speed, which requires parts as close to perfection as possible, and very robust, hairline fractures in engines have resulted in plane crashes.
To people who feel pricing roads is wrong because of equity, what about pricing cars, gasoline, transit, parking, etc? Virtually all prices are hard on the poor but there are rarely calls to do away with prices where they already exist. It doesn't make much sense to say that it's equitable to put a tax on gasoline, an input to driving, but not driving itself. Moreover, are we supposed to make all street parking or public parking garages free at all times?
What I see is status quo bias. Driving on a crowded road at rush hour doesn't deserve to be price free any more than a ride on a subway, an hour in a parking garage, a court appointment, the water bill of a publicly owned utility or any of the other commodities for which government charges some price.
It's especially funny to see people complain tolls are big government. Tolls are supported by virtually every conservative think tank. They are central to trump's infrastructure plans.
I wonder why the blog post claims setting clock source to 'tsc' is considered dangerous.
I think a rights based reasoning framework is problematic in general, it leads people to focus too much on what is considered their "right" and ignores both the harms associated with having that right and the reasoning on which that right was based.

You can fall into the trap of assuming your "right to private property" means that taxation is theft or you can start with a "right to privacy" and decide law enforcement should never be able to access the contents of your smart phone, rather than discussing the reasons for private property or privacy.

And in case case, rights tend to never be justified, just asserted and treated like true axioms.
The true solution to LA traffic will never happen. And that solution is buses. But not the current underfunded system that barely limps along. A massive number of buses, like 5x the current number. And combined with tolls for cars to get cars off the road. The large number of buses is critical because it greatly reduces wait time between transfers. It also allows adding express bus lines between major areas. But buses have a really bad reputation in LA. They are trying to build more rail which doesn't have the bad reputation, but that will always have the last mile issue.

Since the bad reputation of buses will likely never go away, it seems rail + uber pool/lyft line might be an alternative. It won't be as good, but could be good enough. I wish there was a company other than uber/lyft which focused on just this first/last mile issue for rail. Or maybe the metro here could just start a service like that themselves. Something like Rail Pool to get people from/to the rail stations. It combines the best of both transports (the rail covers 90% of the trip, the extensive road network is used for the first and last miles).
There is a couple of ways to do it. From storing your conditions in meaningful variables outside the conditional to pattern matching and more. If conditions aren't the only branching operators.
I also teach programming, and see many of the beginner mistakes made.

Part of what I tried is that the smallest subsections of the language would be complete and useful by themselves. Without ever having to say: "this part you do not need to understand yet". That is where the "beginner friendly" part focused on.

Not by making it "simpler" if that would sacrifice first class-ness. Say JS with its global scope promotion, maybe easier, but not first-class, clashes are inevitable.

And for example, the no import thing is based on very predictable scope rules, which can be postponed while learning, but later are completely deterministic and predictable, while still first class, so that the programmer can have control over it if needed.

But in a way it was mostly an experiment to get my thoughts clear on these matters. And for instance the concurrency things in there have less to do with beginner focus.
A NULL literal in c is always zero. The compiler generates code to produce the right address (which may not have all bits reset).
everyone knows russia does it. their whole game is, "see. everyone oppresses their citizens. america is just as bad as us and real democracy can't exist"
The string reverse question is a pretty poor one in my opinion, you'd be better off with FizzBuzz.

The smart arse answer to your question would be

new StringBuilder("my string").reverse().toString()
I created D because I could implement new ideas without waiting years.
Basically "web version" of asciinema, right?
Mass transit is much cheaper to build and maintain as density increases. Assume every building has 4 vs. 40 stories, now consider how many homes / jobs / shops are within 0.2 miles of a subway stop. Further, how many subway stops you need to pass on the average trip. That's the real benefit to building up, walking simply becomes more effective.
Queues in PostgreSQL (2016) [pdf]
Well, yeah: https://arxiv.org/abs/1609.08144
> There's no cause for this concern.

Well, why do you think we are bringing it up, then? Due to some nefarious motive?
Sorry, it really was a question of selecting a picture and the selecting copy from the menu. I wasn't trying to be an arse.
Sounds really interesting.

Does it support efficient random access?
Yup, and most people speed on "side streets", which are actually residential streets and people actually walk on these...

Can't tell you how many times I almost got run over by such a fine motorist glued to yet another app...
No, WikiLeaks Didn’t Reveal the Government Has Access to Secure Messaging Apps
This definitely has an effect. Oil went through something similar.
Here's my email: cxchan@ualberta.ca. Feel free to contact me when you have any question about CS. :)
You are saying it; but you aren't really backing it up with anything.
Last week I needed to compress some large CSV files (70+ MB) and tested some compression algorithms for speed/ratio and was surprised that bzip2 was (in this isolated case) way better than Zstandard. Zstandard needed a lot more time (bzip2 3s vs Zstd 15s) to reach the same compression ratio and produced noticeably larger files (5 MB vs 6.2 MB) in its default configuration.

So Zstandard is not the compression algorithm to end them all and definitely has its weak spots.
Science changes as a result of evidence.
I don't think the scale matters for the past. You spent the majority of your time with other people in your tribe or village, and they knew everything about you, and you knew everything about all of them. New information could be distributed to 90% of the people within minutes. You could physically ask most the people any questions you wanted about someone else with just a little more time than that.

The current scale just makes this true again.

Again, I don't think that makes it good, but I do think it's important to note.
AFAIK probably a bit of both.
A majority of genetics/biology workloads are I/O bound (mapping, blast, etc) and/or require a lot of memory (i.e. de novo assembly of genome)

On the other hand many of the bioinformatics software solve a specific scientific question and usually are written by people with mostly non-computational background. They use higher level languages such as Python/Perl/R and people often don't have the expertise or time to implement them for GPUs.

However now that machine learning and deep neural network approaches are being picked up by the field, the workloads might change a and also there are frameworks that make it easer to leverage GPUs (Tensorflow, etc)
The marginal cost per mile is probably significantly lower (and will vary by vehicle) but I agree with your basic point. I expect that people would be a lot more inclined to combine errands etc. if they had to literally pay per mile.
The big question for me is: What's the alternative?

AFAIK, there's no secure replacement for most IoT stuff, or phones.
Contributing factor: American cities are young enough they haven't had to pay for infrastructure replacement without bail-outs in the form of income from new construction that hasn't faced a replacement cycle yet, or the federal government.

It's called "The Growth Ponzi-Scheme" https://www.strongtowns.org/the-growth-ponzi-scheme/
Ask HN: Is there a main site for C programming language?
Every more or less popular programming language has its main site, which serves as a main entry point for everybody who wants to learn the language or find any information. Usually those site have links to documentation, tutorials for beginners, reference materials and so on.

C programming language is one the most commonly used nowadays, and still it doesn't have its "entry point". I mean, there are plenty of resources out there, but none of them serves as a source of truth.

Is there anything like that for C?
One or two mandarin oranges and possibly beef jerky if I'm still hungry. I'm trying to lose weight so I want to eat something as filling but as low calorie as possible.
Help wanted at Uber: seasoned executive, preferably female
Not technically a separate language, SaferCPlusPlus[1] is a memory safe dialect/subset of C++. As far as I know, it is by far the highest performance[2] solution currently available for addressing memory safety in C/C++ code (aside from full static verification when that is feasible, of course). The idea is basically just to replace the potentially unsafe elements of C/C++ (like pointers and arrays/vectors) with compatible (memory) safe substitutes. A nice thing about this approach is that converting existing (unsafe) C/C++ code is a simple, straightforward process (that should hopefully be (mostly) automated before long), and it doesn't require learning/adopting any new paradigms. If you want maximal performance though, you'll need to understand the technique of using "scope lifetimes" to achieve memory safety with no run-time overhead.

It's been perfectly usable for a while now, but it's not yet complete. Static tools for automatically identifying uses of potentially unsafe C/C++ elements in existing code, and (at least mostly) automated translation are still being worked on. And there are still elements that are missing safe substitutes (like std::string). So, if anyone's looking to kill some free time... :)

[1] https://github.com/duneroadrunner/SaferCPlusPlus

[2] https://github.com/duneroadrunner/SaferCPlusPlus-BenchmarksG...
Timothy Taylor had an interesting blog post on this topic : http://conversableeconomist.blogspot.ca/2016/08/higher-local...

It is derived from a U. of Washington report found at: https://evans.uw.edu/sites/default/files/MinWageReport-July2...
Hard or soft boiled eggs -- bonus is that when you pressure cook them, it makes the shell stupid easy to get off (crack a ring around the middle, then pull the shell off).

5mins for hard, 4 mins for softer yolk, 1 min for runny (like for eggs benedict), quick release pressure + put in to an ice bath when done.
> the whole thing just looks like a stinking pile of bad engineering

Well, there is no engineering at all involved, so not really unexpected.
Stuck on "loading" in Edge on all videos.
Which electric sharpener do you use? Thanks!
Good point, I forgot about that. I had it backwards thinking wealthy people had more latitude to choose better jobs further away from home, whereas the (non-driving) poor are more stationed in their neighborhoods. I agree 100% though.
I think that anyone who has been following the Wikileaks social media accounts has noticed what can only be described as a blatant subverting of those accounts by another party.
> zstd is probably one of the most exciting new developments in compression

I'm not sure what the excitement is, Pied Piper has had faster and deeper compression for over two years.
I did that and manually set my IP address to 1.1.1.1 with a 255.255.255.255 subnet mask. I figure that's one more level of protection so if my wireless radio can be turned it, it won't be able to connect to a network that's baked into the firmware or something. (E.g. if Samsung has a test net that their TVs automatically connect to if in range.)
The title is misleading. 77% slower sounds like the system calls take 1.77x the time on EC2. In fact, the results indicate that the normal calls are 77% faster - in other words, EC2 gettimeofday and clock_gettime calls take nearly 4.5x longer to run on EC2 than they do on ordinary systems.

This is a big speed hit. Some programs can use gettimeofday extremely frequently - for example, many programs call timing functions when logging, performing sleeps, or even constantly during computations (e.g. to implement a poor-man's computation timeout).

The article suggests changing the time source to tsc as a workaround, but also warns that it could cause unwanted backwards time warps - making it dangerous to use in production. I'd be curious to hear from those who are using it in production how they avoided the "time warp" issue.
> Another option is to reduce usage of gettimeofday() when possible. It is not always free.

haha, it's amazing how much software is written that basically does something ridiculous like "while (gettimeofday()) clock_gettime();".
Some people don't have any room in their budget for anything! Any time you charge people $N for something that used to cost $0, the poor get hit the worst and the rich don't get affected at all.
I agree, general disregard for pedestrians is a big problem. Crosswalks are either a test of bravery or stupidity
> this is all bunk tho since the big vulnerability here is that you're delivering the encryption routines via javascript in a global browser space

So what about mailvelope?
I was delighted when they changed it from "always ask" to "show by default." Like I said, Gmail never puts spam through to me, so it saves me clicks.
sigh I am surprised how much I misread that comment. I think I just saw 'the poors' and I didn't properly read the rest of the comment at first glance.
Residential (and commercial) parking minimums need to be abolished. Set parking maximums if you must impose some rules, and then allow the market to settle on appropriate amount of parking for a new development.
I am really happy to see some nice information about Sudan.
Some years ago I got a bit angry at racism in myself and around me, and I did a little research on Africa History.

I was deeply disturbed to understand that concepts that were deeply engraved in me as Africa as a "terra nulla", without history, without writing systems or even buildings, were huge lies.
Sudan, Ethiopia and Erythrea have a rich history which goes thousands years back linking Egypt, the middle east to India. Later it was a milestone on the road from the Roman empire to India.
Most of what we call as Egyptian history is in fact a mix of Lybian, Assyrian, Egyptian and Nubian (Sudanese) history.
One thing that is not mentioned is that Sudan and Ethiopia have their own writing system [0].

I suggest also to have a look at Jos Plateau (Nigeria) prehistory which goes back hundred of thousand years. Jos Plateau is also probably one of the areas at the origin of the great Bantu migration. And how those people mastered Iron metallurgy and also to the rice invention in the mega lake Chad area where was found the most ancient boat in the world.

[0] https://en.wikipedia.org/wiki/Meroitic_alphabet

(edited)
That'd be ideal... But while the data says "more public transport", ideology is pushing the other way, and nowadays I feel like people adhere more to ideology than data.
> Rules have been violated, and in a society with a rule of law there has to be consequences.

I find this interesting because people will apply this type of thinking to one area and almost exactly the opposite to others. In other words, yeah, there are laws/rules but it is OK to violate them or have no consequences.

One obvious example of this is the hotly debated illegal immigration issue in the US. US law clearly establishes what is required in order to emigrate to this country legally. And it further establishes that this legal status is the only way to live and work here permanently.

If we live by this idea that "in a society with a rule of law there has to be consequences" the US ought to deport millions of people (or otherwise impose severe-enough penalties).

BTW, I am not picking on you, you are not the only person to utter these words. I am referring to the general use of this position rather than your use of it. And, BTW #2, I don't for a moment believe we ought to deport everyone.

Many questions here:

What is "the rule of law"?

When can or should laws be ignored?

Who decides?

If a law was a law (not being ignored) at the time the transgression took place and we desire to live where "in a society with a rule of law there has to be consequences" should these consequences be applied regardless of how we might feel today?

If rules or laws can be selectively applied or ignored at any time in the future, could one make the argument that they are effectively not rules or laws and one, as an individual, is free to ignore them? If they are not serious enough that they can be ignored, why should anyone take them seriously?

Do laws mean anything if they are not enforced consistently and uniformly across the population?

For example: Why do I have to pay taxes if people are allowed to remain in the country illegally?

Both are laws. One is applied uniformly. The other isn't. I am not passing judgement on immigrants here, these are easy examples to reach for.

Complex subject, isn't it?
> Or carry concealed permits.

Um, no. The crazy people won't care, the gangbangers will be better armed and generally in a group, and the single mugger will now take your wallet AND gun AND may shoot you if he gets the drop on you instead of just taking your wallet.

> in a small town

It shows. Your assessment of the probability of crime and how you will interact with it is completely wrong.
How do you keep track of services dependencies
When using microservices (or even in other archtecture) we have a graph of services. How do you currently track those dependencies (which tools?) and is that static or dynamic? (static: e.g. visio diagram or something else, dynamic: the dependency can be queried at run time)
Thanks!
Fun fact, in cases of dehydration where an IV is not available the best means of hydration is via the colon. So if you are in a situation where it is impossible to hydrate a person due to vomiting and emergency services are not available...
Yeah, realized the folly in my logic -- see my edit on my top-level comment. This strategy is pretty much how LS works on macOS as well.
despite your snark, yes we would. I dont know LA very well, but obviously the public transit system is broken and the reasons are probably very complex. So yes, a cooperative app telling you which lane and speed to select would be a form of public transportation, using one's own vehicle.
Isn't the biggest problem with tolls the regressive impact it has on residents? What do you do for people who can't get to work because they can't afford tolls?
Sadly VS2017 doesn't support .NET Core F# projects. Come on Microsoft!
https://www.reddit.com/r/cprogramming/
The BSD license allows adding more restrictions. That's why people like it, because it allows you to remove freedoms; or rather, they dislike copyleft because it does not allow adding further restrictions.

I don't know what are the consequences of the Facebook patent clause, but I know the BSD license doesn't contradict it.