News for hackers. Stuff that matters.

syberslidder

Isn't it crazy how the Palestinians are always portrayed as the bad guys, but whose on Western media 24/7 every war trying to explain why killing children and destroying civilian infrastructure is the right thing to do? Why checkpoints and total occupation is the right thing to do? Why an ethno-state should exist but not a Palestinian one? Why people should be evicted but never return? Ask yourself this question.
Why do people always take the IDF at face value? Just two days ago they admitted to lying to the media about a ground invasion as a military tactic, what makes you think they would not lie about this? They've provided zero proof for targeting all this civilian infrastructure. Even some of the videos they try to use to justify the killing of civilians are 3-4 years old. The IDF can not and should not be treated as the end all of the truth, they can claim anything is a legitimate target and get away with it.
Kind of crazy what you can get away with when the world's sole superpower gives you a blank check. What's next? Hospitals, places of worship, UN buildings? That's a rhetorical question, they've targeted all of those in the past as well.
Re:ARM MacBook vs. Intel MacBook on Saturday December 12, 2020 @12:18PM (#25399775)
Similar to overall performance, power consumption has many factors. As others have pointed out, a new process is a big part of it. Additionally, they have very efficient and well designed small cores in their SoC and one benefit their full vertical integration is their OS has very good schedulers for maximizing time on small power-efficient cores without impacting performance in a noticeable way. At a core level, I assume they have very good clock and power gating, so even if the cores have these massive structures, they might be able to power down some or all of them. For instance, adding a 4th vector unit might seem expensive, but most workloads are not running vector instructions, so all 4 of those units can be powered off for the time slice that application is running. Apple also has very good physical design teams that produce custom macros for almost the entire chip, which individually are very minor but do add up significantly.
Re:ARM MacBook vs. Intel MacBook on Friday December 11, 2020 @09:10PM (#25394636)
To follow-up on my own point, once an x86 instruction has been decoded into a micro-op, it gets stored in a micro-op cache, where the vast majority of the frontend spends it's time fetching from. Additionally, "in flight" is a function of frontend width, Reorder buffer size, additional Out of order structures sizes and throughput depends on those plus the retire width. Additionally, IPC alone is a poor metric for performance analysis because run time is a factor of IPC and clock speed. M1 has higher IPC because it runs at around 3 GHz compared to x86 CPUs running at 4 or 5 GHz. Apple optimizes for IPC, they are all different tradeoffs. Lastly, Apple's cores are probably the biggest in the industry. Compare their new generation of cores, they had to jumbo-size every structure (much larger than most x86 cores). So while it is impressive from a design point, from a micro-architecture point their cores have ballooned in size and are on 5 nm. Their architects are very good, but not godly like I see many tech sites ascribe them to be.

Experience: Designed SPARC, ARM, and x86 CPUs

Re:ARM MacBook vs. Intel MacBook on Friday December 11, 2020 @08:55PM (#25394529)
4 x86 decoders, all modern x86 CPUs have micro-op caches that are wider than 4 and the retire width of the machines are 6 or greater. Saying it can process twice as many instructions per clock cycle is an incredibly incorrect statement.
Re:Ask HN: what happens between assembly and c? on Sunday July 14, 2013 @01:35AM (#6040069)
Are you asking how C gets turned into Assembly or how does C interact with the machine? A compiler will compile your C code into assembly and an assembler will produce machine code from your assembly. Everything, no matter how high level it is, eventually is a series of instructions on some physical processor. C is basically just a higher level of representation of the assembly code the machine runs. Since you have experience in both, I'm sure you can see how C constructs translate into assembly code. Example how a while or for loop uses conditional branching or how local variables are allocated on the stack. Operating systems are written in a mix of C and assembly, as some things are specific to the machine you are running on. For instance, switching between Protected mode and 32e mode on an x86-64 processor. If you're also wondering how your code calls into operating system calls, it depends on both the processor and the operating system. For example on x86/linux, some arguments are passed via registers and on the stack and a software interrupt is called to transfer control to the OS and have the OS service the request on your behalf, such as file I/O or memory allocation. The more you study both of them, the more apparent it becomes how easily linked they are. I think what most people like about C is that its higher level than assembly but still gives you enough constructs that are close to the machine.
Re:Why Java is still relevant on Monday June 10, 2013 @06:28PM (#5857908)
Java is still relevant because of how much code is written in Java.

Ask HN: Is CPAN all that good?

I keep looking into the language wars and I believe perl is a crappy language for many reasons and anytime anyone says that all the perl fanboys reply is "CPAN", is it really THAT impressive?

( Read More... | 1 comment | 3 points | on HN )
Re:Can anyone learn to code? on Saturday January 12, 2013 @09:48PM (#5049776)
Some people just don't make the cut, I believe the number isn't small of who can, but it isn't that large either
Re:Ask HN: Am I missing the Lisp magic? on Tuesday January 01, 2013 @07:52PM (#4994732)
How often is it important to treat code as data (in general) and would you say it makes things less complex than a C-like language?

Ask HN: Am I missing the Lisp magic?

I grew up coding in C and the many languages it inspired syntactically. I am currently learning some Erlang, which is cool. I for one can not understand the draw to Lisp or its syntax. It just looks confusing to me and in no way any easier than C to write/read. And looking at C-ish source code is effortless to get the right context but with stuff like )))))) ?? Someone explain please, also I...

( Read More... | 11 comments | 15 points | on HN )
Re:Ask HN: What your new years resolution? on Saturday December 29, 2012 @04:15PM (#4983507)
1. get accepted into MIT 2. continue losing weight (40 lbs so far) 3. just got a Xilinx/Digilent Atlys FPGA board and hope to have a pimped out CPU implemented on it with HDMI, Ethernet, Audio, and SPI storage interfaces 4. Better understanding of digital design in general 5. get my internship at intel extended for the coming summer

Ask HN: With N numbers, determine if a tie is possible?

So I was thinking about the election and I was wondering if you had N numbers, what type of algorithm would best be able to tell you if a tie is possible? I know that the sum being divisible by an even number doesn't necessarily mean there is a way to tie. This was inspired by thinking of the up coming election. You can assume all numbers in N are positive and that there may be numbers...

( Read More... | 2 comments | 2 points | on HN )

Ask HN: How to learn web scalability?

Hey fellow hackers,I am a programmer, but most of my work doesn't involve the web. The most I have done with web design is an EC2 instance running a LAMP stack. I am working on a project right now, but my concern is that I am limited by my 1 server experience? I know the gist of scaling, (traffic routing, memcaching, sharding) but I don't really know how to go about setting it up. How...

( Read More... | 19 comments | 42 points | on HN )

Ask HN: What problems need to be solved for mobile?

Greetings,Lets face it, mobile is the way forward and I feel as a developer that is the way to go. Instead of App development, I am considering offering some kind of service to mobile developers and users. People say build solutions not ideas, can you guys think of current problems with mobile? :)

( Read More... | 4 comments | 7 points | on HN )
I am willing to do some work to show off my skills too :D

Ask HN: Any YC or other start ups looking for a college hacker?

Greetings all,I am a regular here on hacker news and see all these people doing amazing things and was wondering if anyone would be willing to work with a college student remotely ( for now). I want to work for a start up (remotely at first, but willing to move after graduation). I currently attend the University of South Carolina, here is some information about me:I have a 4.0 GPA and I am...

( Read More... | 1 comment | on HN )

Ask HN: Thin-layer startup?

I know that sometimes building a product from the ground up is hard, but has anyone considered or do any of you use, another start up's infrastructure, and just add a layer above it? For example, I know some start ups are pursuing big data, if it was financially feasible, do you think it would be possible/legal/ok to use their services to store the data(provided through a proprietary...

( Read More... | no comments | on HN )

Ask HN: Hire me in a year?

Would a start up hire me and value me out of college?Computer Engineering w/ math minor, 1 year left to graduate, 4.0 GPA, worked for a start up for 6 months (during school), Average 20-21 hrs/semester, interned with intel, 3 (soon 4) years of research (protein folding, parallel computing, DSP parallization), Experience with: C/C++, Python( focusing on a lot), PHP/MySQL, Erlang, Assembly, VHDL,...

( Read More... | 3 comments | 6 points | on HN )
Re:'To change the world' is a terrible reason to do a startup on Saturday April 28, 2012 @08:29AM (#3902787)
I agree with this. I am a college student and I recently left my part time job at a start up. It went from trying to change how people interact across the globe to trying to put anything out there that would help the company survive. Got tired of seeing failed prototypes and never would be too soon for hearing the word "pivot" again
and that 7 hours is my semesterly average over the past 6 semesters, not a one time thing :)
I currently attend the University of South Carolina/their honors college, which was just voted #1 public honors college in the nation, and yes we rock football
Do you guys think I am on track with the technologies I am teaching myself? Also since I do not graduate for a year from now, when do you think is an optimal time to try to make contact? I am looking for a way to get in contact with as many startups as possible
The start ups that really interest me are those that are catering to the tech world in general, for example, medera cloud (spelling?) that came out the other day, or something like heroku, I really want to build things that are HUGE and scale really well.

Ask HN: Would you hire me out of college? Willing to live in the office

My goal after I graduate in a year is to work for a start up, preferably one in Silicon Valley. Before I ask you if a start up would hire a college graduate, let me tell me a bit about myself and you can judge for yourself if I am worthy.I am current pursuing my degree in Computer Engineering with a minor in math. I have a 4.0 GPA(all around), 2 (soon 3) years of research in DNA matching and...

( Read More... | 10 comments | 7 points | on HN )

Ask HN - Would a start up take me seriously?

Greetings,I am currently a College Student, and I really like the startup culture and I am trying to make myself very hire-able right out of college, based on the following, would a start up consider bringing me on board when I graduate?Experience:1) I've designed and implemented a program for DNA analysis that my state uses in their labs. (I made the source code available) 2) I've done...

( Read More... | 1 comment | on HN )

Older ยป