skysight-inc/HackerNews huggingface dataset:
Haskell does not have OOP style inheritance. If you define a new type, it is impossible to use it where you were expected a value from a concrete old type.

The way around this is typeclasses, which are essentially interfaces. But this would require that the functions you are calling (which may be written by a third party) be written against a generic typeclass instead of the concrete List type. Haskell is improving in this regard, but there is still many places that are written expecting a List. Also, if the function needs any beyond simple iteration, the typeclass it would use would have a scary name like Semigroup (even iteration uses Foldable, which might not be clear to beginners)

There is the IsList typeclass. But the intended use for that is to enable a list-like datatype to be represented with list literals in source code.

Even with all of these difficulties, the worst case scenario is to spam your code with NonEmpty.toList and NonEmpty.fromList (or its safe sister NonEmpty.nonEmpty which returns an error value instead of throwing when given an empty list.
No doubt I'll feel silly for asking but what is IMOP? Google didn't provide any sensible answer.
This isn't a law, just some guidelines. I'm not worried that details such as the handover time will be resolved in some industry standard.

More interesting is the implication that this requires the possibility for humans to regain control. So we should not build cars without control mechanisms (steering wheel, brake pedals, ...)?
That means the driver has to be in focus and control of the situation at all times, just like it is now. No blaming the machine or the maker of the machine.
I'm not even convinced of the usefulness of extremely large screens.

You end up having to sit progressively further away from them the bigger they are, which probably requires progressively larger rooms to put the TV in.
In some languages, you can ensure that no `.toString()` equivalent is available. Then, your ID is truly opaque and can only be used in the prescribed ways.
Perhaps people who wear helmets are generally more careful so there are less severe accidents - still : impressive numbers
That it's not bloated Atom ;)
It's enough with a big red break-button on the panel that makes the car come to a complete stop as fast as possible.
Sorry, autocorrect, can't fix it anymore. I wanted to write exposed, not expressed. And yes, either via inline ASM or intrinsics.
At least one could argue that a person has a choice: to commit or not to commit a crime. But a newborn does not have a choice to have its DNA collected. This is the worst violation of privacy I have ever read about in my life. And I find not that surprising that CA is one of the few states where this is practiced.
And yet the BSDs have plenty of drivers. How is that possible?

No, the GPL isn't magic.
That seems to be a keyword, yes. So 4.
Wanted Mobile Game Developers  Review by Beyond Eleven
Given the context, most likely "In my own opinion."
Sometimes, group exits before you. It has more experience under its belt.
That's why people are downvoting this guy?

I totally agree that there's a more privacy-respecting solution. I was asking why people were downvoting this comment.
Hm, is armcc still a thing? I don't remember what it guaranteed (or not) for bitfields. If it doesn't work consistently, that would explain that they're using masks and shifts.

That, and because the C standard leaves it implementation-defined.
would you characterize the bipartisan introduction of the active cyber defense certainty act (ACDC)[1] to the US house of representatives as "propaganda" or a real thing that happened? we don't know if it's popular (amongst the law makers who control its fate) because there hasn't been a vote yet.

"more and more popular," maybe not amongst the infosec community, but "more and more likely to make it to a vote in the years that have passed since the introduction of CFAA?" that seems possible to me.

1. https://tomgraves.house.gov/uploadedfiles/discussion_draft_a...
"Any tissue sample that is given in a hospital or any medical facility, once it's given, is no longer your property," Lorey explained. "You can agree with that or disagree with that, but it happens to be the law."

If true this is incredibly depressing. I don't know very much about patient privacy laws but have some follow up questions for those more knowledgeable:

1) I assume this quote refers to California state law and not Federal law?

2) Is there a state that has a track record of taking privacy more seriously?

Despite caring deeply about my privacy I've let it steadily erode with the rise of "customers are the product" type services. Between this and Cambridge Analytica it seems that the US is surprisingly bad at protecting citizens' privacy. I'd like to know if it's possible to live in the US without essentially waiving my right to keep personal information personal.
Of course with the new MacBook Pros it’s not possible to remove the SSD, because it’s soldered to the logic board, anyway.
> This is the worst violation of privacy I have ever read about in my life.

I dimly remember some private schools using school laptops to take naked photos of their underage students.
And the Volkswagen was commissioned as the "People's Car project"

Coca Cola also invented Fanta to circumvent trade embargos on Nazi Germany

Really could go on with this list. But it's not really that interesting or relevant to the actual discussion here
Video games could be serious tools for historical research
A better analogy would be promoting a service to production with the unit tests failing (or not having an automated CI process that ran the unit tests ... or not having unit tests).

There are different degrees of software engineering. If you work for a company that makes pacemakers, there are very strict software testing requirements. The same goes for the developers of real time avionics systems for air craft, ECUs for cars and autonomous train systems in places like Singapore or London.

If you're writing software that tracks inventory and ships out shoes, mistakes aren't life threatening and you might have faster processes to get things into production. If you reuse that software for shipping out medical equipment for people with diabetes or sleep apnea, you could run into life treating problems if the testing process is not updated to match the seriousness of the problem you're trying to solve.
Php -> one line
He's joking mostly. He uploaded a webshell through the very poorly designed system that was in use. A webshell just runs whatever command it's given on a the machine its located and returns the results.

A nodejs based webshell is like 5 lines of code.

edit: imagine a URL like this:
http://yourtarget.example.com/webshell?cmd=whoami

And that runs "whoami" on the target machine and returns the results.
Once upon a time, Apple keyboards were just two hooks and a hinge away from replacement (and RAM was right under there too) http://www.laptoppartstore.com/uploads/9/3/9/4/9394972/50755...
Office design is highly vulnerable to bikeshedding. It _seems_ obvious so everyone has an opinion without realising the implications.

I saw a costly office refurb that made everything open plan including the kitchen/breakout area. Within a week there were noise complaints from nearby teams and memos not to hang around, in the space that was literally designed to be hung around in, because open plan is currently fashionable.
Just as much as HP assisted with napalm attacks in the US invasion of Vietnam.
But that was probably criminal and not mandated at the state level! It makes me very very scared of the benevolence and of the thought process of CA government.
Comic Sans was released in 1994.

I also wonder about their choice of typeface though...
Why a heavy deadlift makes you lightheaded
It seems we have a similar issue in Australia...

https://www.mja.com.au/journal/2011/194/6/newborn-screening-...

and this

"19.16 In 1999, the Senate Legal and Constitutional Legislation Committee referred to newborn screening card collections as ‘inadvertent DNA sample banks’, noting that identified blood samples containing genetic material from almost all people under the age of 28 are currently stored in most States and Territories."

https://www.alrc.gov.au/publications/19-human-tissue-collect...
Mens Summer Lightweight Casual Trousers with Pockets
How a European law would help with a situation in California ? You do realize that GPDR does not apply in the US, right ?
Basic Self Defence?
Does anyone here know any good resources for practical self defence? Not formal fighting styles like karate or taekwondo, more like things that can be used to protect yourself (and maybe retaliate) if you're being attacked in the streets.
Well, I'm assuming of course that you can find many mistakes much faster with "robot testing", so it'd be cheaper. Of course you wouldn't find "semantic" mistakes.
The impact of Masayoshi Son’s $100B fund will be profound
Actually pretty much everybody has committed a crime, sometimes unwittingly but still.
Which is completely and totally unrealistic.

In a fight between people writing down how they want things to be, and basic human psychology, the latter has won every single time.
They collect DNA of anyone arrested by the police. Then they aim to destroy samples taken from people not subsequently convicted.

As I understand it the process is quite opaque and there have been cases where some police forces have revealed that they are unable to (or simply refuse to) comply with the requirement to delete samples so they keep everything.

https://www.telegraph.co.uk/news/uknews/law-and-order/786353...

>Research found South Yorkshire was most likely to remove a DNA profile while Cambridgeshire, Gloucestershire and Nottingham refused to remove any profiles.
Gattaca. there's no i in dna sequencing.

Gattaca took real world and extrapolated a little to give us a glimpse in the future so we know what to expect and not let it happen.
What? That newborns are checked for congenital diseases? How is that anything but normal?
If the application is trustworthy, it doesn't matter. If not, you should think twice about running it even in a container.
How expensive are your staff? These all sound like wins or at least not losses to me given that even unskilled staff are super expensive compared to these things.

Microwaves are like what, $100? Couches? Another couple hundred? Whiteboards? Probably within the realm of $100 there again for a few of them. Food for one person? Stupidly cheap compared to a salary as well.

As long as getting these things could foreseeably have made only the one person who requested them even slightly happier, it seems worth it.

Standing desks are pretty expensive, I'll give you that. I have seen them used a fair bit though so having them might eventually pay off. Also staff might still feel better about having them even if they're not using them.
AI in aerospace, defense and government services: legal issues [pdf]
Interesting. This is the sort of transaction that altcoins like Ripple and Stellar try to facilitate, though in a more centralised way. I wonder if Bitcoin's popularity will overcome its speed limitations in this instance.
Sorry but no, absolutely not.

Please explain how keeping your daughter blood sample forever and selling it helped in any way ?

Running a detection test is what helped your daughter and is not the issue at hands, it's keeping samples indefinitely and selling them that's problematic.
Hopefully Microsoft improves the alleged reliability of the surface book before people start buying it in droves

https://www.theverge.com/2017/8/14/16142490/microsoft-surfac...
Because it's not relevant to the issue discussed: storing and selling DNA of Californian born people without them knowing or being told their rights.
One of the most profound books I have read
reminds me of the story where a chinese plastic factory created lots of small white pellets and sold them as rice, making a fortune. (might be wrong on the factory detail, but the plastic rice definitely happened)
What is the genetic motive for them to become less deadly over time?
Steam can be whatever temperature it wants. There is no 100C limit. Either way, there should be no steam near a radiator.
Why would it be normal ?
You can safely assume that google, facebook and data brokers have it.
So do I understand it correctly that you are saying the OP's code (or e.g. the one like in AceJohnny2) is not guaranteed to work correctly according to C89? Any idea about C99?
Walk on Water – Eminem (feat. Beyoncé) – English Song Lyrics
A db is either centralized with a master server or not. These definitely work without a master.

The tagline at the github repo at https://github.com/basho/riak is "Riak is a decentralized datastore from Basho Technologies". I don't think they would lie.
> The consequences are too severe to do otherwise.

Some basic precautions and common sense is all you need to avoid the CFAA.
UCLA researchers have produced X-rays by simply unrolling Scotch tape (2008)
Your Spouse Is No Prize? Maybe You Deserve a Nobel
If I understand correctly, that makes the article grossly wrong. Like, if you have a serial port transmit register and execute

SERIAL_TX_DATA = 0x01;
SERIAL_TX_DATA = 0x02;

to enqueue two bytes to transmit, then the compiler is allowed to skip the first write entirely.
In Python 2, identifiers are ASCII only.

In Python 3, non-ASCII identifiers are supported:

https://www.python.org/dev/peps/pep-3131/
> Some states destroy the blood spots after a year, 12 states store them for at least 21 years.

What are the other 12 states?
If you have technology to save a child’s life using simple modern medicine why would you not?
Pre allocation is generally the safe option in a embedded security critical environment where you must always handle the worst case scenario and you know all possible inputs. In a user interaction environment though it's usually better to over-sell so that the user can choose wheter he wants to create 1 million A's or 1 million B's, instead of having a pre-created pool of half a millon A and Bs each.

With pre allocation you usually also end up creating your own resource management within the pre allocated pool and then you are back to the resource management problem...
How does that work on ice or snow? With a bus behind you? Or on a curving downgrade? With a trailer? With your unbuckled luggage or dog in the back seat?

When the driving is easy, the AI _can_ do it. We are by default discussing the unusual, difficult situations.
it's not the same results, their point was to justify it on physical grounds
I agree. It's not a prerequisite, but if you want to be good, you need to.
Please never hijack the 'back' function on browsers. If I want to go to the previous website, I now have to hit it multiple times -- this is annoying!
Yes. configuration takes a lot of time and it is not easy to get started. Have you considered alternatives that are worth looking at?
Don't be absurd. Some pedestrians are Usain Bolt and some pedestrians are Stephen Hawking.
> “Traditional money transfers are relatively costly due to currency exchange fees, and can take up to a few days”

I would like to see some worked examples here that take into account local Bitcoin pricing and the time taken to withdraw from exchanges, vs Western Union and other commercial “Send Money” organisations. The space is intensely competitive, so I suspect the margin consumers pay if they do a minimum of research is tiny, so I’m skeptical that Magic Bitcoin Magic is somehow making this better.
Judo or Akido, one of my Japanese friends had his father teach it. You use an enemies strength against them. If they throw a punch you grab their wrist in a clockwize movement and throw them.

I would also Google Ashida Kim

http://www.dojopress.com

He used to give out free ninja books. I have not checked in a while.
The way many metabolic conditions work is that essential products are not synthesized, or toxic products are not cleared. These can cause unrecoverable damage within hours or days of birth if not treated. So, tests are performed to identify known metabolic conditions to prevent newborns from suffering unrecoverable brain/otherwise damage. This is generally known as "newborn screening" if you are curious to learn more.
(Novice k user.)

1.k:

/k3
v:"- baz";u:" - elephant";t:"foo";s:"\n"
w:_ssr[,/$0:t;v;v,u]
w[1_ {x-2}'(&w="-")]:s
t 0:_ssr[w;s;s," "],s

k 1
OH, I've not heard this story, got a link??? Unsure what to google for.
Article is from 2008.
You can use unicode characters in identifiers in many modern languages including JavaScript and Python. So you can write your own code in whatever languages you like. You could learn the meaning of language keywords without knowing English. But all libraries are still in English, so I would say it would be almost impossible to become a productive developer without being able to read technical English. (Which to be fair is not the same as to be able to speak fluently, and is much easier to pick up on your own without access to teachers or other English-speakers.)

A few programming languages like "turtle" have been translated to many human languages because they are intended for the education of children. I know VisualBasic for Office also have some translated version (and translated documentation). There are some other historical examples. But I don't know of any mainstream general purpose language where this is the case.

I know of some workplaces which wrote all their own code in the local language - but standard and third-party libraries were still in English of course, so you needed to understand English anyway.

So I will say you can learn to program without knowing English, but you will not be able to be a professional developer, except in some niche areas.
Bitcoin's lightning network is currently maturing (it allows instant free transfer of Bitcoins off-chain). That should work perfectly for banks, given that unlike regular customers, banks don't transfer money only in one direction, so the lightning channels should stay balanced for much longer.
JavaScript identifiers can be emoji, I think. This is also valid JavaScript (you can test it by pasting it into your console):

let ಠ_ಠ = "Hello, world!";
alert(ಠ_ಠ);

Some more examples: https://mathiasbynens.be/notes/javascript-identifiers#exampl...

d3.js used to also use Unicode identifiers:

https://web.archive.org/web/20140802202152/https://github.co...
https://web.archive.org/web/20140802202152/https://github.co...
Thanks for sharing about hobby-kube.
Both Javascript and Python 3 do support unicode in variable names
italiaanoooo!
In Feedly the source feed is always displayed, I thought it was the same in others feed readers as it seems a basic info.

I understand the duplicate issue for those following both DiscoverDev and the discrete websites, I wouldn't mind as it is intentional but that's just me.

I'll make the extra clicks !

Thanks again

(edit: spelling)
Never financing or leasing a car. Never using any credit or loyalty cards. Befriending odd people. Staying with a small/niche software company.
At least incentives for carpooling won’t disappear.
I love this idea. I always, take a famous open source project and try to re-create or go through the source of it. Its very tough, but when you do so the learning is very immense. Thanks for the link.
Presumably those that store the spots for between 1 and 21 years.
A patient’s lack of ownership over their discarded tissue is (at least partially) a result of the decision in Moore v. Regents of the University of California[1] which was, yes, a California Supreme Court case. Though it seems courts in other jurisdictions sometimes agree with its decision.

[1] https://en.wikipedia.org/wiki/Moore_v._Regents_of_the_Univer...
Killing the host prevents it from spreading the virus.

The most successful viruses don't impact the host's health at all, like the virus whose leftover DNA allows mammals to give live birth.
In my country the spreed to exchange eur or usd to local current is huge, you lose at least 10%
Urban legend--some combination of plastic pellets for another purpose (injection molding, or fake rice for Japan-style food models) getting misinterpreted as fraud, and/or deliberate misinformation.

https://en.wikipedia.org/wiki/Artificial_rice#Plastic_rice_r...
Yeah, English is the biggest standing in the way that being a software engineer. e.g. If you are not Enligsh as mother language, you can't smoothly read doc writed in English. But many docs and papers write with English in the world. Furthermore, Possiblely you couldn't my words above. Because I am non-English :<
Thanks I appreciate the information.
It's these kinds of larger than life personalities who carry humanity forward, or at least make the big leaps possible. Not the conservative ivy league money manilupulators now pretending to be tech visionaries at VC firms in exchange for a quick skim off the top.
VIM as IDE
I spent two years living with a man, then my lover, who refused to seek medical help but almost certainly had something like disassociative identity. He had learned to cope with it by giving his voices distinct names, and adopting their personas over times, often in response to external stimuli. As an outside observer with no such symptoms of my own, I found this completely fascinating.

He's very spiritual, one of his inner voices would often come out and sage the house, offer prayers, and perform personal rituals which he kept secret. Otherwise though, I found that his personas largely reflected his current emotional state. One persona would almost always be "out" when he was upset with a friend, or struggling with some stress. Another was more childlike and playful. He described them as always there, and even though he appeared to allow one of them to be "in charge" as he put it, he said the voices were always in the back of his mind, directing his thoughts.

The experience has opened my eyes, and allowed me to see these disorders in a more positive light. I never told him what I thought of his diagnosis and never felt the need; while his condition lent itself to occasional mood swings, he made a point of _respecting_ his voices, allowed them to become a part of him, and I feel had largely learned to cope. He could even switch his behaviors off for a while when needed, usually for work or when he felt the need to be professional.

I don't think medication would have helped, not that he would have taken it. He had figured himself out for better or worse, and I just learned to accept him as he was.
The computations can get a bit complicated. Basically, one pageview costs $0.000015. So if you have a thousand pageviews, it's $0.015.

On the pricing page (https://just-comments.com/pricing.html) I have an example of 20000 pageviews per month and it costs $0.3 per month.
I went to a meetup once where Radoslav presented Bitbond. Referring to it as a bank is quite a stretch.