skysight-inc/HackerNews huggingface dataset:
People do different kinds of work, so there are programmers who experience it both ways, 99% of the time floats are good solution or 99% of the time floats are an incorrect solution. Because of history and language support, classes and other resources for learning to program teach you to use floating-point numbers and don't bother with alternatives. As a result you have a lot of programmers who default to treating every number with a dot in it as floating point number, and they get burned by it, and instead of realizing it's just a gap in their education that they can correct, they treat overuse of floats as a mistaken industry-wide consensus that needs to be overturned.
> It's about nicotine delivery, and even the new hit with the kids, Juul, seems not as nice as a cigarette to me as a very infrequent nicotine user. Maybe box mods are different, I've only every tried the types of vapes you can get at tobacco shops and gas stations and such.

Box mods are indeed different. And you don't really need a box mod, good beginner-level devices (from ~$50 and up) charged with an adequately strong liquid do the job great and don't require any special skill. The devices usually sold at gas stations are worth nothing more than a temporary emergency cigarette replacement and Juul is, you know, for kids. As a very infrequent nicotine user you have no reason to care but if you smoked regularly I'd advice to pay your local specialized vape shop a visit and ask the guys what can they recommend.

> As a side note, I'm surprised snuff isn't more popular.

I've bought some snuff once I've forgotten my vape at home and my impression is it's the best tool to quit smoking! Every time you use it - it's a jump of courage and tears, snot and head-shot feeling after it. It's a so damn strong mentol charge I feel like I'd rather eat a Carolina Reaper. Even though I've taken the box that doesn't mention menthol.
A couple of thoughts:

>I could sit down with him as a peer, but he is known for snapping at people (even the founder) who question his productivity. And I don't think the discussion would have any positive outcome anyways. His issues are systemic.

Do you know this for a fact? If no one has 'sat him down' perhaps he thinks no one is noticing and that he's not causing problems. Perhaps both you and the founder could sit down with him.

>But I don't want to be that guy that is like "it's either me or him."

Why not? It sounds like the founder is on your side and ultimately he's the one who needs to make the decision. Perhaps you can come up with some ideas for how he can implement letting the guy go while minimizing any perception that there's trouble.
The amdgpu drivers in Linux are fantastic these days. Works out of the box with most hardware. No proprietary binaries needed, other than the firmware blobs. AMD is doing a really solid job of supporting their Linux user base.
I see the victim as the customer, not the corporation. Yes they had data stolen from them, but if there is no consequence and it wasn’t their data, are they the victim?
Millennials, compared to older generations, have to pay more of their income towards housing, have higher student loan debt to manage, are getting married later and are starting families later as they feel they don't have the financial resources.

Moreover, thanks to automation and globalization, good paying jobs in many disciplines can be harder to come by -- perhaps greatest in the working class.

They feel they have to work harder than older generations to keep up and that is because they do.

The reasons for the higher cost of housing and of education has to do with the older generations using politics to take created wealth for themselves and not to help younger generations has been done in the past.

For example, in NYC, DC, Boston, Seattle, SF, LA, London, there are zoning laws that restrict zoning density creating an artificial scarcity in housing while benefiting primarily wealthy landlords.

States are paying smaller and smaller proportions of public university budgets with the remainder having to be made up of student loans.

Special interests stopped a bill in committee in the Senate of California that would have allowed construction of 5 stories buildings near mass transit stops.

Japan realizes the harm of zoning density restrictions and thus has federal laws overriding any local laws. The result: in 2014, there were 140,000 housing units were built in Tokyo vs. less than 90,000 for all of California.

Ultimately, Millennials need to focus and prioritize these issues in order to have a future -- becoming politically involved to help lower housing costs and university education.

Specifically, both Democrats and Republicans are focused on so many issues instead of focusing on what is important: Fixing local zoning laws so that there is affordable housing for Millennials and taxpayer money contributing proportions of public university education that had been spent in the past.
Circuit with conductive ink [vid]
The last two I've used over the last decade have automatically done this. Every machine requesting a DHCP lease is assigned "$host.lan" in the DNS service on the router, where "lan" is a default but configurable domain name.

But even if you don't have this, then zeroconf/avahi/equivalent should be giving you "$host.local".
Personally I like to use ptipython (think a better version of the CLI for ipython) and SQLAlchemy whenever I'm debugging my SQLite databases. It's light, can install most places, and has my JEDI autocomplete.
Yes Fabien! Also thanks for your article, it really inspired me to code my own version. Had a great time! I'm planning to make a video about all this and I will tweet you when it's published.
The VESA driver?
To hit the point home a little harder: you can easily iterate through the entire representable set of float32 on a modern machine within seconds. I've encountered many engineers who don't quite get that.
Consider what "I recommended this guy to be hired, and he recommended me to be fired" will do to your reputation further down the line.

You say you're willing to walk away. Do it.
> [...] had hacked into his Twitter account - @hesuoge - and [...]

> [...] said the engineer, who spoke on the condition of anonymity for fear of landing in deeper trouble with authorities.

Uh, what?

Edit: Even worse, it's the Washington Post: https://www.washingtonpost.com/world/asia_pacific/chinese-ce... .

I'm missing something regarding twitter handles and anonymity, right?
> "Isn't the text based ReCaptcha pretty ancient at this point?"

That was v1, they shut it down in March 2018. You won't see it anymore anywhere.

> "Google's current version is either the simple checkbox (which I assume is checking various things) or the image based version where you have to click on traffic signs."

That's v2. v2 will present you with a simple check box if you're very compliant with the google surveillance system, or will present you will image challenges if you're not (or if it's just in the mood.) v2 is very capricious and will reject correct answers from users google wishes to punish for, e.g. using firefox, using adblockers, using resistfingerprinting, blocking google's cookies, etc.

The recently released v3 is the worst of them all; it does away with the image challenges of v2 completely. The user never interacts with it directly, never has an opportunity to persuade v3 that they're a real human by answering any sort of questions. It's nothing more than a measure of how compliant you are with google's surveillance.
Probably the thing that annoys me most about these deals is how one-sided the tenancy is. For example, an NFL team can play eight games a year in a publicly financed stadium, but if a game doesn't "sell out", then the local broadcast is blacked out. AFAIK only the NFL does this, but that's probably a function of the number/timing of games more than anything else.
Yes, but does chromium play nice for acceleration ?
FWIW the Chase Center is 100% privately financed. SF is actually benefitting from private investment into public transportation to/from the arena. Public housing is great, but it’s not like the city chose this instead of that.
Hey @manglav,
You might be interested in my profile and experience with APIs. More information about me here: anshulsinghal.me
I also sent out a formal introduction to your email from 1997anshul[at]gmail[dot]com.
«Lit»+Tab will now be one of my most used commands on Ubuntu. Thank you!
Best dog training collar reviews for 2019
On the Centenary of Gerard Manley Hopkins’s Poems
Well, you don't need to represent all the real numbers. You can get quite far with just rationals or algebraic numbers, although you'll have trouble with exponentials and trignometry. And computable numbers are basically superior to any other number system for computation.

You of course need an unbounded but finite amount of space to store these numbers, which is perfectly fine.
IIRC the Warriors stadium is privately financed. Not sure if there are any subsidies offered by the city.
We Should Have a Better Condom by Now. Here’s Why We Don’t
Got fed up and quit, or just retired?

Woodworking sounds like a perfect thing to do after retiring.
There is nothing we can tell you since you and the founder already know what needs to be done. The two of you just need to show some backbone and act.
I believe the hospitality industry is in even worse shape.

I just got back from a resort in the US that was probably the worst trip I've ever had. It was high season, so prices were insanely higher than the rest of the year. But every single section of the hotel (housekeeping, engineering, front desk) and F&B (servers, bartenders, bus staff) was insanely understaffed. People were frustrated and downright angry at the staff and, eventually, at each other.

We're at this tipping where something has to give. We're at or nearly at full employment and everyone is happy to spend money again...but wages won't budge.

I could also talk about other sectors like retail. Have you been in a Target or Wal-Mart lately? Even stores like Target, which are usually immaculate and fully stocked all the time have large empty spaces on the shelves and entire classes of items are short or missing.

Where do we go from here?
Doesn't hardware accelerated graphics on Firefox on Linux require modifying a preference? AFAIK you need to go to about:config and enable layers.acceleration.force-enabled. (This is speaking as someone who uses Firefox on Linux as my main browser.)

The bug for enabling hardware rendering by default on some systems appears to still be open: https://bugzilla.mozilla.org/show_bug.cgi?id=594876
There is something really wrong with that. The government is taking on concerns outside its core responsibilities. Sports are non-critical entertainment and that's something the government should not be creating. We can discuss regulations, zoning, and other ways government could be involved, but a lot of people don't use these stadiums, and I'm sure they'd prefer their tax money and gov resources be spent on more crucial infrastructure.
How Tesla tests its cars for extreme cold
Relying on IDEs to do this type of thing really doesn't help for situations like merge conflicts (i.e. which merge tools understand languages fully?), and it doesn't completely solve the problem of easily understanding code just at a glance - you still need to go round mouse-overing or clicking on stuff to see extra detail.
21 Rules of Thumb for Managing Software People and Teams
On Liking Women
Apparently, San Franciscans think housing inhibits quality of life. Talking to a few people for here it’s as though the most important thing about the city is having a nice sunlight during the day, and being able to see some of the sky without looking upwards, not unimportant things like poverty or having properly funded service workers.
When NASA can't even get it right, because of "surprises", there's no chance in hell I'm blaming us mere mortal programmers... or even 10x wizards. (0)

It's time to look at other ways to depict fractional parts of numbers in a computer. I know that one can express any rational number as a integer fraction. And our computers are incapable of expressing a irrational number exactly - it does so to a certain precision... In other words, every number a computer expresses is a rational number.

The exception is if the computer could express irrational numbers as symbolics, then we could work with the symbolic instead. And then as a last pass, the symbolic could convert to a imprecise rational depiction, or express as its native type.

(0) https://itsfoss.com/a-floating-point-error-that-caused-a-dam...
Yes, with an eye to the quality and consciousness of what you’re doing
7 Things Desktop Linux Needs in 2019
I've been in a couple of events in the field where having arbitrary application window rotation would have been nice because there was no place flat to put the monitors.
Presumably we could actually make decimal floating point computation the default and greatly reduce the amount of surprise. I don't think the performance difference would be an issue for most software.
I’m not implicitly agreeing that a connection should exist, but I’m also not going to pretend it doesn’t. Sports are a huge part of American culture and is one of the least contentious elements. I don’t have a source which empirically states “most cities would vote for the team” other than brand loyalty statistics which don’t correlate perfectly to this conversation. I’m attempting to discuss the less tangible aspect of this arrangement and why it is a bit of a radical variable in anyone trying to address this lopsided agreement. If you discount sentiment you aren’t even attempting to see why sports teams appeal to people and why they haven’t revolted at the thought of subsidizing them. I am not speaking in favor of subsidizing them or maintaining a status quo but instead I am trying to help quantify a city’s love of a team. I won’t even broach the topic of college stadiums and athletic fees but it might be one area that does have research on this topic.
coincidentally, the person giving this talk hosts live coding sessions and does some code review
Nvidia also does an excellent job of supporting linux. It's just not open source.
Funnily enough, the Android app not being (or not having the option) to be a browser and cache is one of the things holding me back from wholeheartedly embracing Syncthing. Different needs for different users.

I'm aware of https://github.com/syncthing/syncthing-lite but the consensus seems to be it is not quite there yet. I should perhaps give it another go.
If you think the space shuttle was the most dangerous launch system ever made, you clearly are unfamiliar with the Russian launch vehicles of that era, most of which were literally put together from spare parts.
Seems to be. From about:gpu:

Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Hardware accelerated
Rasterization: Software only. Hardware acceleration disabled
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
> You seem to have lived a privileged life if you cannot see the value in helping those who cannot afford it.

I was asking what that value is and afaict you are not answering it. But I'm sincerely asking, how does each individual tax payer benefit from you making a good living now such that they should have been forced to pay for you?

I was very much in a bad situation with my health while not having insurance. I couldn't get up off the floor for nearly a year due to spinal issues. I worked until I could afford to resolve the issue. Nobody else had any benefit from me surviving. Should they have had to pay for me to get surgery sooner?
Will this make Firefox the best browser on Linux by default then?

Also, as mentionned in the bug thread, if nouveau is actually stable on Newer versions, similar to User Agents, the newer nouveau versions could change their name to bypass the blacklisting. No need to pretend to be NVIDIA, just something different that nouveau, like 'nuevo' or something.
Have you seen https://github.com/stripe/skycfg ? It’s kind of early development stages tho
Do you mean some fixed point decimal number? Cause the normal way to do decimal numbers would still be floating point.
The Price of a Hack
They need to add support for incremental refreshes of materialized views. It is something they have thought about for a while: https://rhaas.blogspot.com/2010/04/materialized-views-in-pos... and makes the lists of most requested features: https://rhaas.blogspot.com/2016/01/postgresql-past-present-a...
I think their point is that by default, even with the "use recommended drivers" option enabled, Ubuntu uses the nouveau driver by default instead of installing and using the NVIDIA driver.
If going Synology, make sure to go for their 64bit models (I don't think they still sell 32 bits, but unsure); it's needed to support btrfs. Other good brand is QNAP. good quality 2 bay can be found below 300€, 4 bays below 500€.

As the other commenter said you can also built it yourself but frankly configuring Samba and its permissions and updating your mdadm config when changing a drive and all the other things gets boring and borderline dangerous really quick, just know that if you buy a pre-made NAS what you're paying is not really the hardware (you can get better for cheaper if homemade), it's the software.

I like DSM (synology's software) because it doesn't get in your way, it lets anyone use easily yet still offers the advanced options. If you've never had a NAS or don't want to spend hours in config files every now and then, I recommend it.

(as usual the question for devices like this is not so much "how easy is it to set up" but "how easy it to recover if say a drive died and you need to repair your array")
I don't see how this could get very far, considering that the people in Iceland who run the root for .IS are known to the network engineering community of ISPs in Iceland. The population just isn't that high. People with the equivalent of root or enable on core ISP infrastructure are maybe less than 50 persons in the entire country.

You could literally take public transit across Reykjavik and go knock on the door of the persons responsible.
> more difficult challenges.

That's just code for "it rejects correct answers to frustrate you." If you manage to get the noscript version of the captcha with otherwise the same browser state it will accept a correct answer the first time nearly every time. Presumably this is because they didn't bother to implement their "hassle the user" code in the noscript version; it's probably neglected by google since it's disabled by default.

For instance, the sloooow fade in of challenge tiles... what legitimate purpose does that serve? That's not there to make it harder for bots. That's there just to hassle and punish real humans that google dislikes because they don't buy into the google 'ecosystem'. The more they dislike you, the slower the fade in gets. The fade-in can be several seconds long in severe cases.
Just build something.
You're the best.
Looks like this website blocks access from Europe, presumably due to GDPR.
Airport security screeners have an impossible task
Yes you can. Those "hacks" are how you do it.

I mean, you can call them hacks, but at the end of the day v4 uses a fixed-width 32 bit address field and has no mechanism to extend it in a way that's compatible with other v4 hosts. All you can do is hack around that. There's nothing that v6 could possibly do to avoid it, because the flaw is in the design of v4 and not in the design of v6.
I am from Europe and I am seeing 451 (the article is not available in my region) is this normal?

Italy to be specific.
We probably need (but don’t want) algorithmic control of our actions.
Like it or not, the government is a tech company’s best friend
“Until you figure out where the no free lunch theorem has stashed the harm” is a saying I will be using for the rest of my days.
Per the comment from abrowne Firefox does not do hardware acceleration by default on Linux for any hardware. So same as Chrome for Nouveau but Chrome does support acceleration for other drivers out of the box. It seems slightly easier to enable it for Firefox but both browsers provide a way to enable acceleration if you want to take the risk.
That works unless you use &i somewhere.
Both projects seem to put the blame on the other project. IMO, there are at least two other factions that can be blamed equally well.

First, nvidia for not providing OSS drivers and second, the user who runs an OS on hardware that can't be properly supported on this OS at the moment.

For years I have the rule that I prefer hardware that has proper Linux support. Even going a bit further that I try not to buy hardware that doesn't have OSS drivers unless there really is no other option (nowadays, that means mostly smartphones).
I think what they mean is "it's now enabled and used by default even for the clic clic clic through the menu (non technical) users", not that the driver is technically present.
What? Did this item change url and title? Earlier it was an article about initialization in c++?
(1) People have to start voting with their feet to leave the Bay area.

(2) Around the time that "white privilege" became commonly talked about, people stopped talking about "privilege privilege". In the bad old days people who were in positions of power realized they were fortunate, now many of them think they earned every penny.

The homeless population in the bay area is overwhelmingly white and the population of people who are making it are disproportionately asian. It is one more example of life putting the lie to common stereotypes about race, class, et al.
I can't really point to an article that changed my life from HN but I can say that the whoishiring threads are a pretty valuable resource.
I really hope this domain hijacking doesn't succeed, because I use archive.is all the time.
Dear lord sounds like you got lost from comp.lang.c. How did it get into the spec? Because Unix did it that way. Just like gets made it into the spec. It’s not like that was some willful good design. The history of C and it’s standarization is inextricably ties to the history of Unix.
Just tried it in PHP and was given an answer of 2.
https://github.com/syncthing/syncthing/issues/109 is probably the issue you want to follow. Yes there hasn't been any activity on it for some time unfortunately.
Those are all excuses to justify keeping the ravens captive because of a ridiculous superstition. The only ethical thing is to not keep these birds and let ravens (and all birds for that matter) live their lives naturally in the wild.
I could chain you up "just a little" and let you have a walk now and then and even feed you well and treat you nicely, but you would still be a prisoner and it would be wrong for me to do that to you.
I think there is argument to be made for high-level languages defaulting for arbitrary precision math ("make it correct first, fast second"). But considering that we are still fumbling around with fixed-width integers and that is much simpler domain after all, I don't hold my breath on "solving" the problem of reals any time soon.
You do realize this is happening all the time with Android OS, FB's family of apps and most popular free apps that make $ from ads, right?
Like what UK police did to Graham Lineham?

https://www.theguardian.com/culture/2018/oct/07/graham-lineh...
With IPv4 you don't HAVE to buy a domain for your local network. You can do just fine with IP addresses. With IPv6, you probably will need to just to make it sane. That adds a whole new step, and a complex one that most people (general public) won't know how to do.