skysight-inc/HackerNews huggingface dataset:
Sounds like a lot of suffering.. Boredom is a killer. Were you treated for this or have followed it closely? Did you indulge in physical activities and still felt the need to do that?

Some teachers in primary school used to let me play in class (go to the back and sort of move around, get between two tables and play pendulum/swing with my legs). Apparently it was that painful to watch a bored kid. But I think it was better because I also did a lot of physical activities that I think helped mitigate.

As to college, to be honest, the curriculum is truly primo quality, straight out of the Soviet system. The college was about 40,000 students, all in Sci & Tech. (no humanities).

Engineering students go through two years of common core where you study a bunch of Math/Physics/Chemistry/Strength of Materials/Manufacturing(lathe, molding)/Industrial drawing/Programming courses.

Every Engineering student goes through that, except Software people who only do one year (they miss the coolest one).

The syllabus is good.. (we got to learn about RST controllers which are rarely taught).

The problem though is that they don't capitalize on what has been done to do more and they don't have ways to test out of courses (there's a bunch of courses I could have tested out of. I ended up had good grades in them and it just wasted my time). And also some profs are unethical (nice when they give you a class or a half to tutor, and then slaughter your grade and disappear, some don't even correct your sheet).

Plus you don't get to build on what you've learned. Scarce electronic parts. Rare projects. You had to search a lot to find good solder. You can't do PCB traces under a certain width. Forget about SMD.

I struggled to get a credit card, and then the stuff you buy online either got "permanently misplaced", lost, or held at customs. It's like that Carl Sagan quote: "If you want to make an apple pie from scratch, you must first create the universe." Struggling to do the basic stuff for so long gets tiring, and dulls your edge.
Show HN: UMark Video Watermarker
Is your bonus based on predefined criteria? Do you negotiate it ahead of working, or after the fact? Does your skin colour, sex, how you dress affect your bonus?
> Pulling into the station, waiting in line, hitting the rest room and paying the bill need to be included too to get a relative penalty.

This is not the average experience for a US driver. Very few gas stations ever have all their pumps utilized, even during rush hour. I haven't gone into a gas station in years, or waited on paying the bill - everything is automated at the pump.

I would put the "convenience store" aspects at par - you either want some snacks or need to use to rest room or do not - the fuel type doesn't change that.

Payment again I'd put at par - swipe a credit card at the "pump".

Maybe add a minute for "average wait for a free pump" to the gas station model, but I'd argue that problem would be even worse (or at least par) with electric charging.

The only real win I can see is that you could do other things away from the vehicle while it charges (attended vs. unattended fueling) which lets you parallelize some activities above. But that only becomes useful once the refueling times become within the average potty/snack break at a gas station - and we're no where near there yet.
Not quite, ICE engines are governed by the Otto cycle which has a theoretical efficiency limit of ~37% and most get less than that.

In terms of real-world power usage you're close to 1/3rd of that(unless the car captures the excess heat and reuses it).
The plan is to have a human drive the first and last mile (getting onto and off of the highway), while autonomous systems drive the truck only on the highway itself.
I thought about that. But if finding a terrorist is like trying to find a needle in the haystack, Schneier suggestion (as well as any other expert in security will tell you), the best solution is truly random search. If it is truly random, the terrorists have no way to predict if they will be checked and if it is frequent enough, it will be sufficient to change their behavior.

As for the point of sense of safety vs. real safety (impossible) is a well taken one. But this false safety could be dispensed with much lower costs for the citizens (both in terms of money and inconvenience).
I've spoken to a few people who work for dod/dia et al as it relates to DHS/TSA. They say they employ 3 types of people: 1) those that need a job and don't care 2) those that like having authority over others but couldn't cut it in other jobs, and 3) those with bad grades, bad pedigree, etc who are trying to work their way up DHS and transfer to another agency from within.
My example would probably be the work of Phil Bagwell.
IMHO the biggest issue with Linked-lists is they do not support parallelism, they are inherently sequential.
Educative,Entertaining and Inspirational
Or you just simply have to accept the fact that congress is more than 100%-always-correct-scientific-talks but rather is about entertainment too. And that is a thing Rubin can bring to congress.
If I have any suggestion, I will tell you. However, I'm slow, so don't expect immediate feedback ;)
interesting...how can this be implemented in a db table queriable with sql?
But isn't the point of signing up for pre-check that you give away your fingerprints and extra identifiable information and let the government run a security threat profile check on you to determine the risk factor for you?

Or, are you saying it's easy to forge the TSA-pre check for people to get through it?
> The end result, is the airlines have no desire to improve the process.

That is not entirely true. Delta have spent money to improve the TSA process in Atlanta (I believe mostly by adding automation and more areas for people to unload their belongings) and have also spent money at other airports to relieve TSA congestion.

I work for an airport and have heard many times that the airlines have considerable frustration with the process - it's not uncommon to hear people say that they would rather drive than fly due to the hassle of security. Airlines are usually very aware of lost revenue due to these kinds of factors.

I completely agree re where the blame lays.... my understanding is that the TSA have actually asked for additional funding to have more staff on the lines but Congress has denied this. The TSA is not actually a requirement either - airports can run their own security but my understanding is that they would still require TSA oversight so any cost savings are negligible.
Finger Trees: Custom Persistent Collections
If you know the format you want, and read infrequently, just implement it as an append and read it backwards.

If you have frequent reads, you can also consider writing your data to a file (or a memfd), and then using mmap to construct the memory layout you want. You will then see that prepend is worse-case log^3 (depth of the pagetable, assuming you have to keep moving the whole thing) time, which is much better than finger trees, and if you prepend often you can make it constant time (by choosing a high start virtual address: remember, there's 64 bits of address but only 48 bits of memory, so you can have 64k big objects without much work) which makes it faster than linked lists.

Another idea: use VMX extensions and collaborate between each layer to trade a lower constant mean and coefficient to parameterise max to log^k. Gains here might require very big data sets though.
or is this more applicable to a object store db?
Long haul truck fleets will be much more suited for swaps than recharges.
Thanks!
I read somewhere that this was a good way to secure redis for compliances. Good to know it may not always work.
> Your staff, the waiters the bus boys will feel like owners through tipping. If they do a shitty job they don't get paid, it doesn't get more capitalistic than that. It's the the same thing that motivates employees of startups that have equity.

So... why not have startup devs get tips?

Or... wait... why not do actual profit-sharing at restaurants? Give monthly or quarterly bonuses based on profit-sharing calculations.

I sometimes get amazing service at mcdonalds/fastfood places. Had a few phenomenal experiences at a local wendy's last year. The service level has far more to do with the actual people involved vs whether they're tipped or not.
To be fair to the TSA, they have requested that they are armed.
I read an argument once that that tipping is probably illegal under US employment law because, in practice, its racist. Research indicates that servers who are ethnic minorities are tipped less than white women, who are tipped most. Sure the employer isn't doing the discrimination themselves but they are setting up compensation scheme that, in practice, is discriminatory. This is called "adverse impact" in US employment law and is still illegal, there doesn't have to be intent.

Maybe challenging tipping in court would be the best way to eliminate it. I'd be interested in reading the ruling no matter the outcome.

EDIT: Quick Google, Here's some research on the subject http://scholarship.sha.cornell.edu/cgi/viewcontent.cgi?artic...

As an aside, I actually went to a pretty expensive restaurant where the busboy did most of the work. The only thing the waiter did was take our order, ask if everything was ok, asked if we wanted another (paid) drink (the busboy refilled our water several times), and brought us the check. They busboy did everything that wasn't money oriented. I asked him if he got tips, he said he got 10%. 10% of the compensation for at least 50% of the work! I noticed all the busboys there had something in common - they were all black teenagers. The waitstaff also wore button down shirts and ties and the busboys wore polo shirts. I was extremely uncomfortable with the situation.
These existed in Hoboken at one point. Haven't been there in years so not sure if this still happens.
Passports do.
I think it's unfair to blame this on no-ops. People have found unsecured MySQL ports on the open internet for years dating back to the first LAMP stack deployments. And things like iSCSI targets, SMB shares, etc.
it was reported to us by the support folks that the software wouldn't even work in windows 7's XP mode, which as i understand it, is VM-based.

but, they said, "don't worry, we'll keep supporting XP!"

...right
To see if you hesitate.
The Linux kernel uses intrusive linked lists extensively. Container based linked lists contain a copy of the data item. Intrusive linked lists force the data structures in the list to contain list pointers inside of the actual data structure, and the list operations manipulate those list-specific pointers in the data structure.

I am not sure if anyone has evaluated using alternatives, but my understanding of why has generally been memory efficiency. If you allocate a Foo, you also allocate everything you need for Foo to be on all of the lists it may appear on. I couldn't find any confirmation (with actual numbers) for this intuition, but this is what I could find:

A 2005 explanation of how intrusive lists work in the Linux kernel: "Linux Kernel Linked List Explained", https://isis.poly.edu/kulesh/stuff/src/klist/

HN submission on intrusive lists in Doom 3: https://news.ycombinator.com/item?id=8795745

And that points to technical note on the optimizations to Doom 3's BFG Edition to get it to perform well on PS3, XBox 360 and PC: http://fabiensanglard.net/doom3_documentation/DOOM-3-BFG-Tec... One of the optimizations was moving from intrusive lists.

I'm quite aware of how inappropriate linked lists are for most applications because of their poor cache locality. I thought the Linux kernel may be a case where linked lists are actually better, but I can't find any numbers or even arguments why they would be.
They're used in a distributed hash table implementation called chord (https://en.wikipedia.org/wiki/Chord_(peer-to-peer)
Why's that funny? Jobs programs and basic income are completely different animals.

I'm sure many people take issue with the various externalities associated with job programs, e.g. In this case making all of our lives more difficult and wasting our time while travelling. If we simply gave all TSA employees a basic income and told them to stay out of the way (i.e., fired them) the end goal of giving them money would be achieved but without the additional drain on everyone else's resources.
On the flip-side I don't have a gas station in my garage or my work's parking garage, but either can be trivially outfitted with a 220v plug. Ideally, one's recharge strategy shouldn't be like filling up a gas car. You should be plugging your car in for overnight charging and only using these types of stations in a pinch. With gas cars, I have to use these stations. They're literally my only choice. I couldn't build a gas station in my garage even with vasts amount of money due to regulatory, safety, and environmental concerns.

Its also more reasonable to tap into overnight power as to not stress the daytime powergrid.

>gas contains about 33kWh of energy per gallon

ICE are about 20-30% efficient. So 70% of that 33kwh is lost to heat and other inefficiences. Electric cars are about 70-80% efficient, so you actually need only 1/3rd the energy capacity in this kind of calculation to match ICE/gas.
My comment was tongue in cheek.
That's certainly not true at all. Clojure has a rich string library where you can do all sorts of manipulation. Clojure's strings are also native data sequences so you can use the entire Clojure standard library's tools for manipulating data right on strings naturally.

I wrote full-time Clojure for two years, and did all of last year's Advent of Code in Clojure. In my entire life, I have never once written a line of Java and I have no idea the details of its standard library. That's how well-encapsulated Clojure is.
The Fair Labor Standards Act requires tip pools to only include "employees who customarily and regularly receive tips" (https://en.wikipedia.org/wiki/Fair_Labor_Standards_Act#Tippi...).

... my understanding is that provision generally excludes back of house staff (except busboys), but as usual the details of any particular situation require an actual legal opinion.
But in US - restaurants is not the only place you tip. A 20% tip on $40 bill amount to $8, which is okayish. 10% would be perhaps okay for most people.

But recently I moved home and paid $850 to movers for 6 hours of work(4 guys and a truck), the 20% of that would be $170. I paid $40 in tips and yet I felt guilty and I thought I heard some grumbling between movers. Similar thing happened when I took a cab from Denver to Boulder and paid nearly $120 and driver explicitly asked for tips and the only option in app was 20%.

I don't know about other people here but paying $170 tips on a service seems like a ripoff and is not practical unless you are already rolling in dough.

Personally for me - tipping is slippery slope. As a personal not born in US, I am always unsure how much I should tip. Heck there is a expected tip in TO-GO orders.
There are already several extensions to markdown with LaTeX support. For example, StackExchange supports flavored markdown with a Mathjax backend, as do most static Markdown renderers out there. Nevertheless, since Markdown isn't standardized across the field, we really can't complain that some support LaTeX while others do not. Since it gets asked about in /github/markdown often enough however, I believe that it's worth some consideration.

I think the answer to your question is more situational. For example, the ML community routinely publish supplementary material on Github. While the introductory section of these repositories should be accessible to everyone, they do also go fairly deep with technicals before referencing their respective publication for more details. The PL community also routinely use Github as a distribution platform. For them, it's often much more compact to give the semantics of their language-extension as a system of equations rather than as words. This doesn't absolve them of the obligation of giving readable examples of the specification, but for some of these more technical repositories, it's a nice-to-have as well.

Having said all of this, the ML community has thought up of a rather clever workaround for this already. Github renders ipynb notebooks that has LaTeX in side of its Markdown sections, so many READMEs just reference a Jupyter notebook. This is just a different approach on that problem.
Cross Compiling Golang with a Docker Alpine Container
The Dumbest User Interface of 2016
I've only read that quote, but to me that doesn't seem like a rude thing to say. I interpret it as "This windows branch is awful, it might be better for you to abandon that effort and work on something with more potential". I hear it as criticizing the code, not the person.

Edit: I read a little more, looks like the devs were upset because windows isn't a free platform, and they didn't want darktable's reputation marred by a buggy port.

> This will be very bad for darktable reputation
Lead Honestly – One-on-one questions to actively engage employees
I think the thing to keep in mind here is that tons of this is unrelated to the US and its politics (what I presume you are somewhat getting at). Other countries are realizing the strength they can have and working for improvement. Whether or not the US unravels remains to be seen, but at least many of these great things are becoming a global effort.
>saying "SJW" unironically

The lack of diversity in tech is well documented and The Guardian is hardly the only publication writing about it.

What do you mean "race drama"? This is about qualified engineers being passed over for jobs because of race. No firing, no "drama".
There are several use-case examples in the Readme for this Clojure finger tree implementation:

https://github.com/clojure/data.finger-tree
His talks were in the Security track, not the entertainment track. At no point in the talks did he acknowledge that it wasn't meant to be factual either. Additionally, there's a wide gulf between 1% correct and 100% correct he could've aimed for.

I would be understanding if the CCC orga put him in the entertainment track, but they did not do that for two years in a row despite having received feedback.

He was intentionally spreading misinformation and the CCC orga supported him in that. These are simple facts.
How do you assign an IQ to someone who doesn't want to be tested?
Give up sequential! :)

If you want queues, and you can give up sequential, then you can get huge gains[1] in performance. Specific use cases will have better specific solutions.

[1]: e.g. https://github.com/cameron314/concurrentqueue
I regret that I haven't really had the opportunity to explore Darktable very thoroughly. Every time I would try to point it at my library folder it would choke to death. Perhaps I should re-organize around Darktable, but right now I have other components of my workflow that are hard to imagine replacing, primarily DxO -- this was the main driver that got me to switch to a Windows host running a Linux VM and doing all my real work over SSH to the local VM, after years of struggling through painfully slow editing in a Windows VM on a Linux host. I resent that Windows's bad, less flexible behavior has forced me to make it my host OS. :'(

At the moment I don't have a good library app, I just browse the directory structure. I've tried Lightroom but it too struggles with my library folder, although unlike Darktable, it is marginally usable. I've tried Digikam, and while it's the only one that seems to handle the library in a semi-respectable fashion (with the experimental, now-deprecated MySQL backend enabled, which iirc took some manual massaging to even make compile anymore), it's hard to get the components I really wanted to work reliably (it's very important the my camera's GPS tags can be mapped and sorted; this is my main interest in a library manager and as of now, all such programs are too overloaded to do this competently or half-broken like Digikam's integration, and when I need GPS-based information I guess I will have to try to write a script that reads the coords out manually with exiftool instead of trying out Yet Another Library Manager).

Adobe is absolutely that 1k lb gorilla in the room that everyone is afraid to compete with. Add to that that photography programs are very difficult and complex work and it makes the field, particularly the field of volunteer developers who make contributions to a FOSS project, pretty limited.

For the record, the current size of my library:

[me@my_host photos]$ find . -name .snapshots -prune -o -iname "*.CR2" -print | wc -l | xargs printf "%'d\n"
97,596
[me@my_host photos]$ find . -name .snapshots -prune -o -iname "*.JPG" -print | wc -l | xargs printf "%'d\n"
177,785
[me@my_host photos]$ du -sh --exclude=./.snapshots
2.8T .

.snapshots being the btrfs snapshot tree, which makes these numbers about 16x higher, but is a relatively recent addition (around the time I moved to a Windows host) so isn't the reason everything has choked historically. Hopefully stuff like Lightroom isn't trying to parse these directories as well. I guess I could blacklist them from sharing in Samba to try to get around it.

Open to any tips others may have.
I think that tipping as a percentage of the meal cost is absolutely idiotic.

I have never gotten good service at an expensive restaurant, and yet the receipt gives you the math for 18%, 20%, and 22% tips.

I have gotten good and bad service at cheap restaurants (something like Steak and Shake), and tip accordingly.

The "work" is not anything different between the two jobs. Just take my order, bring me my food, and refill my water glass (heck, leave me a pitcher of water and I'll be much happier and do the refilling myself!). Why does the expensive restaurant expect a $10.00 tip for this service, while the cheap place is happy with a $2.00 tip for the same amount of work?!?
Just a note - the top left MapleNest logo looks pixelated/blurry on a retina screen.
I have to completely disagree with you on almost all points. I grew up in a culture where tipping was not mandatory but something that you did just because you wanted to/ felt like/were a regular (and tipping in this case is not limited to restaurants, it applies to delivery people, mail etc.)

1) "feel like owners" is just an excuse, because at this point, I'm forced to tip, if I don't, I know fully well that the server won't be making minimum wage (I know the restaurant has to pay them by law, but no server would want to loose their job over this)

2) tipping is not required but social pressures in groups general dictates that you tip. Also if I do get bad service, why should I tip 10%? (why not 0%?) - and that's exactly what I mean - I should NEVER be tipping anyone, the restaurant has to pay it's employees. If I feel like the service was exceptional, I don't mind tipping, but just in general - no tips should be necessary.

3) I don't generally mind the math (especially if you are paying electronically) as the machine can let you choose how much % you'd like to pay (that said, it generally does not tell you if it's applied before/after tax and is another thing to consider over the price of the food itself)

4) This once again should not be the concern of the customer - if at all, its' very easy to deal with this the same way tech companies do - with equity or bonuses.

5) I'm not too sure, but if I pay electronically, I can tip at McDonalds too. (obviously it's not forced, and I can if I want and have a great service, and I love this method).
Coding theorem defines decoding error capacity for general scenarios
Red-black trees are pretty much terrible for performance as well. I spend most of my work days trying to eradicate std::map and std::set for performance reasons.

Academics are always concerned about bounds, but practitioners are always concerned about cache misses.